Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
RCL RCL is offline
external usenet poster
 
Posts: 10
Default Ole Object Problems

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 !

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Ole Object Problems


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

ActiveSheet.OLEObjects("CBoxConc").object.Listinde x= 1

--

HTH

Bob Phillips

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

"RCL" wrote in message
oups.com...
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 !



  #3   Report Post  
Posted to microsoft.public.excel.programming
RCL RCL is offline
external usenet poster
 
Posts: 10
Default Ole Object Problems


Bob Phillips ha escrito:

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

ActiveSheet.OLEObjects("CBoxConc").object.Listinde x= 1

--

HTH

Bob Phillips

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

"RCL" wrote in message
oups.com...
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 !



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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Validation object Add and Modify methods John Rix Excel Programming 0 June 26th 06 02:29 PM
problems using Filesearch object when files have a password Tim W Excel Programming 2 May 4th 06 04:33 PM
Problems returning Collection object McManCSU[_23_] Excel Programming 4 August 9th 05 07:02 PM
Rectangle object in Worksheet not amenable to word indenting and Undo problems Hari Prasadh Excel Discussion (Misc queries) 1 July 1st 05 07:47 AM
Problems Defining Object Variable in For Each Loop ExcelMonkey[_190_] Excel Programming 7 February 28th 05 10:46 PM


All times are GMT +1. The time now is 04:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"