+ Reply to Thread
Results 1 to 4 of 4

Combobox change event issue

  1. #1
    Excelerate-nl
    Guest

    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. #2
    Ivan Raiminius
    Guest

    Re: 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. #3
    Excelerate-nl
    Guest

    Re: 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. #4
    Tom Ogilvy
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1