+ Reply to Thread
Results 1 to 9 of 9

Linking two ActiveX comboboxes across different tabs

  1. #1
    Registered User
    Join Date
    12-05-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Linking two ActiveX comboboxes across different tabs

    I am trying to get two Combo boxes to display the same information to no avail. I have several spreadsheets on tabs that I am tracking tasks on. I track the task by clicking on a combo box and selecting, Started, In Progress or Completed. I would like to have a summary page where I can just look over all my projects at once. I would like this pages Combo Boxes reflect the status of the box on the original page. Ideally I would like to be able to change the status on the Summary page and the status would also change on the original page. Any ideas on how to do that? Please let me know if I havent supplied enough information.

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

    Re: Linking two ActiveX comboboxes across different tabs

    hi sgillette01, welcome to the forum, can you post sample workbook?

  3. #3
    Registered User
    Join Date
    12-05-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Linking two ActiveX comboboxes across different tabs

    Both the post a new thread and the go to advanced are broken links right now so I cant upload a excel sheet. At its most basic I am trying to have two combo boxes on two different sheets say the same thing. So if you pick Started on one combo box on sheet one, the combo box on sheet2 says the same thing and visa versa. Thanks for any help in advance!

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Linking two ActiveX comboboxes across different tabs

    assume
    -combobox1 in sheet1
    -combobox1 in sheet2
    in the macromodule of sheet1:
    Please Login or Register  to view this content.
    in the macromodule of sheet2:
    Please Login or Register  to view this content.



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

    Re: Linking two ActiveX comboboxes across different tabs

    Hi

    Generally activeX controls on worksheets aren't a good idea. Try to use forms controls, if you use a forms combobox your issue becomes trivial as you simply set both comboboxes to have the same linked cell - that way there is no coding required

  6. #6
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Linking two ActiveX comboboxes across different tabs

    @Kyle

    Perfect suggestion !
    But the same applies to ActiveX-comboboxes: they also have a property 'linkedcell'.
    So I would stick to the ActiveX comboboxes.

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

    Re: Linking two ActiveX comboboxes across different tabs

    please check attachment, try to change Status in comboboxes. It is assumed that project sheet has only one ActiveX combo.

    If combobox value is not updated, run this code first:

    Please Login or Register  to view this content.

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

    Re: Linking two ActiveX comboboxes across different tabs

    @snb Thanks

    Why the preference for ActiveX?

  9. #9
    Registered User
    Join Date
    12-05-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Linking two ActiveX comboboxes across different tabs

    @snb
    I will give your suggestion a try.

    @Kyle123
    I am new to this but I used activex because I needed the box to call more then one macro.

    Here is my sample sheet. It is just a sample but I think it will give you the idea of what I am trying to do.

    Tracker Template.xlsm

+ 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