Ole Object Problems

R

RCL

I have inserted some objects in my sheet (combo box, option buttons)

This code works perfect:
ActiveSheet.OLEObjects("CBoxConc").ListFillRange = "ProdProductos"

But this one returns an error 438:
ActiveSheet.OLEObjects("CBoxConc").Text= "MyText"

This one returns an error 438 too:
ActiveSheet.OLEObjects("CBoxConc").List Index = 1

Any help or suggestion???

Thanks in advance !
 
B

Bob Phillips

ActiveSheet.OLEObjects("CBoxConc").object.Text= "MyText"

ActiveSheet.OLEObjects("CBoxConc").object.Listindex= 1

--

HTH

Bob Phillips

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

RCL

Bob Phillips ha escrito:
ActiveSheet.OLEObjects("CBoxConc").object.Text= "MyText"

ActiveSheet.OLEObjects("CBoxConc").object.Listindex= 1

--

HTH

Bob Phillips

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


Thank You Bob...very kind... it works fine !
 

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