![]() |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 12:05 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com