+ Reply to Thread
Results 1 to 8 of 8

refreshing Comboboxes

  1. #1
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    refreshing Comboboxes

    Hi

    I have a number of comboboxes which are based on Indirect references. They work great until someone changes the source of the indirect (another combobox)

    below is the code which sits behind the Combo box.

    Please Login or Register  to view this content.
    if a user changes a combobox, it should automatically refresh to the new list range but it remains on the previous list range.

    Can you please let me know how I can get the combo boxes to automatically update?

    Many thanks in advance.

  2. #2
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: refreshing Comboboxes

    Hi, any advice would be appreciated

    many thanks in advance

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,636

    Re: refreshing Comboboxes

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to Quick Post button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!
    Ben Van Johnson

  4. #4
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: refreshing Comboboxes

    example workbook attached.

    when the original dropdown is changed, the secondary dropdown should react to the helper cell and therefore change the options in the combobox.

    many thanks in advance.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: refreshing Comboboxes

    I don't know if it is the issue but the bottom combobox is combobox1 not 2 as referenced in your code. Also, you want it to trigger on the change of combobox3 and not combobox1.

  6. #6
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: refreshing Comboboxes

    Hi, thanks for your response, I'm not sure that is the issue as the combobox does work when the first combobox is activated, but once only.

    something needs to be added to retrigger the combobox but I am not sure what.

    many thanks again

  7. #7
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: refreshing Comboboxes

    Try this

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  8. #8
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: refreshing Comboboxes

    that's the trick. thank you very much for your response.

+ 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. Replies: 3
    Last Post: 02-18-2015, 02:02 PM
  2. Help! Entire Row Hidden - w/Two ComboBoxes - Doesn't Hide the ComboBoxes
    By ocnmel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-06-2015, 09:27 AM
  3. filtering comboboxes depend on value of other comboboxes
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-18-2014, 09:18 AM
  4. Comboboxes example
    By cv24 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-02-2012, 08:49 PM
  5. [SOLVED] OLE comboboxes
    By Mikkan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2005, 08:05 PM
  6. Need help with ComboBoxes.
    By rosemary in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-08-2005, 08:05 PM
  7. comboboxes
    By lgbjr in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-01-2005, 02:05 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