+ Reply to Thread
Results 1 to 11 of 11

Multiple activex comboboxes on same sheet not working

  1. #1
    Forum Contributor
    Join Date
    02-01-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    163

    Multiple activex comboboxes on same sheet not working

    Hi,
    I have problem to run the similar code for 3 activex comboboxes on the same sheet. These comboboxes have been linked with range name where there is index formula like below
    =Data!$D$1:INDEX(Data!$D$1:$D$5000;MAX(Data!$C$1:$C$5000);1)

    I create these comboboxes to be able to search the customer name when i type in any letter in the box. There was no problem when i type in the first box but when i start with
    another 2 boxes, the dropdown list appears on the first box only. My dropdown code is in change event and my action code is in click event. Can anybody kindly help me out of this ?

    There are 3 sets like this in the same worksheet.
    Please Login or Register  to view this content.
    Action code.
    Please Login or Register  to view this content.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Multiple activex comboboxes on same sheet not working

    Can you post an example workbook so we have something to work with ?
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    02-01-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Multiple activex comboboxes on same sheet not working

    Hi,
    Thank you for response. Here is the file.
    Attached Files Attached Files

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Multiple activex comboboxes on same sheet not working

    Sorry for late response.
    What if you try it like this ?

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-01-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Multiple activex comboboxes on same sheet not working

    Hi Bakerman,

    Thanks for your reply. It is ok.
    I have tried but it's not working. there is no dropdown appearing when i type anymore.

  6. #6
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Multiple activex comboboxes on same sheet not working

    Try this example.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    02-01-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Multiple activex comboboxes on same sheet not working

    Hi again,

    The dropdown is working only on one combobox?

    I'm thinking to change the working process to not search in comboboxes but userform.
    Maybe it's easier just that the user has to trigger something to get the userform up and go.

    However, I would appreciate if these 3 comboboxes can be working too?

  8. #8
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Multiple activex comboboxes on same sheet not working

    Working on all three the moment I type in the first character.
    So I really don't understand your "not working".

  9. #9
    Forum Contributor
    Join Date
    02-01-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Multiple activex comboboxes on same sheet not working

    The minute I type on the first combobox, dropdown shows on that particular combobox. But when I type on the second combobox, the dropdown still showing in the first combobox.

  10. #10
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: Multiple activex comboboxes on same sheet not working

    Can't reproduce because when I type in one and then select another first combo dropdown disappears.

  11. #11
    Forum Contributor
    Join Date
    02-01-2013
    Location
    Oslo
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Multiple activex comboboxes on same sheet not working

    ok no problem, thank you very much for your time bakerman2

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clear dependent activex comboboxes
    By michael61182 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2016, 02:04 PM
  2. [SOLVED] Vba to clear and then populate activex comboboxes
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-31-2015, 04:07 PM
  3. How to set up multiple Activex comboboxes using the same code (dashboard)
    By jane serky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2013, 10:17 AM
  4. [SOLVED] need to loop through multiple activex comboboxes and modify properties
    By Bugsgas1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2012, 10:06 PM
  5. Indexing Through ACTIVEX Comboboxes
    By Hemimud in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-13-2012, 11:27 AM
  6. Linking two ActiveX comboboxes across different tabs
    By sgillette01 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-08-2011, 10:08 AM
  7. Linking two ActiveX Drop-Down ComboBoxes
    By Madic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-02-2011, 02:42 AM

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