Combobox change event issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top