Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Combobox change event issue

I am desperately looking for a solution to bypass the change event of a
combobox when the changes are comming from macro code (for instance change of
Rowsource or listindex). So the change event should only be fired when the
user actually makes a selection from the combobox list!

Thanks in advance,

JB
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Combobox change event issue

Hi JB,

you can set a flag that change to the combobox is done programmaticaly
and then in event procedure check the value of the flag and reset it.

Regards,
Ivan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Combobox change event issue

Dear Ivan,

Thanks for your response. I was aware of this solution, but it involves
quite some macro coding in my case. Actually I was looking for something
similar to: Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
where the SaveAsUI defines the user interface use to be true or false.
In this way you can avoid flagging and keep the event with the macro
function itself.

Regards,

JB
"Ivan Raiminius" wrote:

Hi JB,

you can set a flag that change to the combobox is done programmaticaly
and then in event procedure check the value of the flag and reset it.

Regards,
Ivan


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Combobox change event issue

Unfortunately, such a facility is not provided.

--
Regards,
Tom Ogilvy


"Excelerate-nl" wrote:

Dear Ivan,

Thanks for your response. I was aware of this solution, but it involves
quite some macro coding in my case. Actually I was looking for something
similar to: Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
where the SaveAsUI defines the user interface use to be true or false.
In this way you can avoid flagging and keep the event with the macro
function itself.

Regards,

JB
"Ivan Raiminius" wrote:

Hi JB,

you can set a flag that change to the combobox is done programmaticaly
and then in event procedure check the value of the flag and reset it.

Regards,
Ivan


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
Combobox change event only by UI Excelerate-nl Excel Programming 0 May 2nd 06 04:05 PM
MsgBox in Enter event causes combobox not to run Change event Richard Excel Programming 0 March 6th 06 02:52 PM
Combobox on change event Matt Jensen Excel Programming 4 December 29th 04 04:37 PM
Change minimumscale with the change event of a combobox Herbert Chan Excel Programming 1 April 11th 04 12:43 PM
combobox change event scrabtree23[_2_] Excel Programming 3 October 20th 03 05:56 PM


All times are GMT +1. The time now is 11:42 PM.

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"