LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Problem updating a ComboBox using VBA

Hi Robert,

thanks for your reply, but I can only find a reference to the
AfterUpdate event. This will be triggered after the content
changed.

My code looks like this

sub print (values as collection)
for each val in collection
ActiveWorkbook.Sheets("SheetName").TheComboBox.Val ue = val
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
next
end sub

The first printout shows the expected value in the combobox. For
the other printouts Change events (even for the combobox) are called
and the sheet is updated but the ComboBox-display remains
unchanged. How should I use the AfterUpdate?

Thanks
Peter
 
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
ComboBox problem hoyos Excel Discussion (Misc queries) 4 December 10th 09 11:16 AM
Combobox problem Ian Coates Excel Programming 4 February 21st 04 09:02 AM
Complex Combobox problem . mattis2k[_2_] Excel Programming 1 November 14th 03 11:15 AM
Activation combobox problem. chris[_7_] Excel Programming 1 October 20th 03 06:32 PM
ComboBox Problem Tressa Excel Programming 2 August 27th 03 08:58 PM


All times are GMT +1. The time now is 05:02 AM.

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

About Us

"It's about Microsoft Excel"