+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 ActiveX ComboBox question

  1. #1
    Registered User
    Join Date
    11-29-2011
    Location
    CA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Excel 2007 ActiveX ComboBox question

    I put the same ComboBox lists in two Tabs. When a user selects item X from the list in tab A, the list in tab B will get updated to have item X selected. This update is done via a VBA sub. I want to know if there is a non-VBA/macro way to do this.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Excel 2007 ActiveX ComboBox question

    Hello aha123,

    What do you mean with, "Tab"? Are you perhaps referring to a Cell with a Data Validation Drop Down List?

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Excel 2007 ActiveX ComboBox question

    hi aha123, do you need sort of that?

    The first combo is linked to a cell '1'!C3 hidden by combo1, the combo2 is also linked to the same cell '1'!C3. Though it is Excel 2003 sample, it should be the same for Excel 2007.
    Attached Files Attached Files

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Excel 2007 ActiveX ComboBox question

    You can also do this with froms comboboxes rather than ActiveX ones

  5. #5
    Registered User
    Join Date
    11-29-2011
    Location
    CA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Excel 2007 ActiveX ComboBox question

    @Winon, A Tab refers to a Sheet.
    @Kyle12m ActiveX controls look better, right?

    @watersev , your answer solves my problem. Thanks!

    Here is an additional question:

    I have two more tabs(Tab C & D) which are hidden. Tab C stores the data and Tab D contains a pivot table based on the data.

    The pivot table has the same selection list as the ones in Tab A and Tab B. When the list selection is changed in Tab A/B, I want the pivot table selection gets updated too. Currently this is done via a VBA sub too. Is there any non-VBA way to accomplish this?

  6. #6
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Excel 2007 ActiveX ComboBox question

    I suppose VB will be the only option

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Excel 2007 ActiveX ComboBox question

    Hello aha123,

    Re:

    A Tab refers to a Sheet
    Amongst other definitions for a "Tab", yes, I agree, it could refer to a Sheet, or also a Cell, or other instances as well!

    Glad to see your problem is in the good hands of the other respondents.

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Excel 2007 ActiveX ComboBox question

    @aha123 aesthetics are down to you, I prefer the look of dropdowns, additionally ActiveX controls on sheets can have a bad habit of not behaving themselves

    To change a pivot table, have a look at the attached, I've included both options (dropdown and combobox)
    Attached Files Attached Files

+ 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