+ Reply to Thread
Results 1 to 2 of 2

How to set up multiple Activex comboboxes using the same code (dashboard)

Hybrid View

jane serky How to set up multiple... 12-04-2013, 10:23 PM
nathansav Re: How to set up multiple... 12-05-2013, 10:17 AM
  1. #1
    Registered User
    Join Date
    04-29-2013
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    21

    How to set up multiple Activex comboboxes using the same code (dashboard)

    Hi

    I have 2 dashboards (each one on individual sheets) in an excel 2007 file. On one of the dashboards I have 2 combo boxes and 2 radio buttons. Each combo box and radio button is a pairing so that the user can click a radio button and the subject in the 'paired' combo box will be the master and the other combo box will dynamically update based on the selection in the first combo box. For example: Combobox1 is a list of countries and Combobox2 is a list of sports. If I choose 'country' to be the master, Combobox2 will be updated with all the sports for a given country; if I choose 'sport' to be the master, Combobox1 will update with all the countries that play the selected sport.

    I need the 2 combo boxes and 2 radio buttons to appear on both sheets and for them to updated when any selections are made on the other sheet (so that you can move between the 2 dashboards and view the same data).

    What is the best way to do this?

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: How to set up multiple Activex comboboxes using the same code (dashboard)

    Its quite easy. Look at the name of the property you are setting when adding the controls normally, listfillrange i think it is, then look at how to set this by using VBA. Apply the updating to both dashboards.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

+ 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] 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
  2. Indexing Through ACTIVEX Comboboxes
    By Hemimud in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-13-2012, 11:27 AM
  3. 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
  4. Linking two ActiveX Drop-Down ComboBoxes
    By Madic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-02-2011, 02:42 AM
  5. make vba code for multiple comboboxes
    By Davo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-04-2010, 01:26 AM

Tags for this Thread

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