Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default some problems calling components :(


but people,
i get the error when i call a component after component creation

for example

1. oleobject - create combobox
2. call combobox in format - msgbo
worksheets(XXX).ComboboxName.Name


BUT if i have two SUBs, where first sub is OleObject creation o
combobox,
and second is Calling component in format ( above )

then all works normally !!!! :(


i cant understand where is the difference, and why it is ,,,,

why i cant component after component is created ???

--
Mare
-----------------------------------------------------------------------
Marek's Profile: http://www.excelforum.com/member.php...fo&userid=1376
View this thread: http://www.excelforum.com/showthread.php?threadid=26911

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default some problems calling components :(

maybe...

give excel (or the ole object) some time to do it's chores,
by including a doevents statement?

Create

DoEvents

Assign



keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


Marek wrote:


but people,
i get the error when i call a component after component creation

for example

1. oleobject - create combobox
2. call combobox in format - msgbox
worksheets(XXX).ComboboxName.Name


BUT if i have two SUBs, where first sub is OleObject creation of
combobox,
and second is Calling component in format ( above )

then all works normally !!!! :(


i cant understand where is the difference, and why it is ,,,,

why i cant component after component is created ????



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
MS Web Components yaanai Excel Discussion (Misc queries) 0 February 7th 08 04:42 AM
some problems calling components :( Marek Excel Programming 1 October 14th 04 12:47 PM
Problems calling a procedure in another application msk19[_3_] Excel Programming 1 September 14th 04 12:49 PM
Calling Forms from Forms - Exit problems Stuart[_5_] Excel Programming 3 May 25th 04 06:50 AM
problems calling this function Pal Excel Programming 1 February 13th 04 06:24 PM


All times are GMT +1. The time now is 11:00 AM.

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"