Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combobox change event only by UI | Excel Programming | |||
MsgBox in Enter event causes combobox not to run Change event | Excel Programming | |||
Combobox on change event | Excel Programming | |||
Change minimumscale with the change event of a combobox | Excel Programming | |||
combobox change event | Excel Programming |