Can´t set focus on OleObjects ComboBox

R

RCL

Hi, I have inserted a ComboBox in my Excel sheet.

But I can´t set focus on it with this code:
ActiveSheet.OLEObjects("CBoxConc").object.SetFocus

Do you know how to set focus to a ComboBox inserted inside an Excel
sheet?

Thanks for the help !
 
B

Bob Phillips

ActiveSheet.OLEObjects("CBoxConc").activate

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

Hi, I have inserted a ComboBox in my Excel sheet.

But I can´t set focus on it with this code:
ActiveSheet.OLEObjects("CBoxConc").object.SetFocus

Do you know how to set focus to a ComboBox inserted inside an Excel
sheet?

Thanks for the help !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top