+ Reply to Thread
Results 1 to 5 of 5

Help attaching macros to combo box

  1. #1
    Registered User
    Join Date
    09-15-2011
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Help attaching macros to combo box

    I have been searching on the internet for about 2 hours and cannot for the life of me find the answer.

    I have a combo box which has the names of the different sheets in my spreadsheet. When a sheet is selected from the drop down menu I want it to switch to that sheet. I assumed I could do this with a macro but all I can seem to do is attach the macro to the entire combo box rather than the individual selections.

    Please help, I'm going insane

  2. #2
    Registered User
    Join Date
    09-15-2011
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Unhappy Re: Help attaching macros to combo box

    Quote Originally Posted by BarryRiley View Post
    I have been searching on the internet for about 2 hours and cannot for the life of me find the answer.

    I have a combo box which has the names of the different sheets in my spreadsheet. When a sheet is selected from the drop down menu I want it to switch to that sheet. I assumed I could do this with a macro but all I can seem to do is attach the macro to the entire combo box rather than the individual selections.

    Please help, I'm going insane
    No one?

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Help attaching macros to combo box

    Don't quote who;e posts for no reason.

    What kind of combobox are you using?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    09-15-2011
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Help attaching macros to combo box

    Apologies. It's a combo box from the 'form controls'

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

    Re: Help attaching macros to combo box

    Post the macro code. Remember to use code tags:
    [CODE]
    your code here
    [/CODE]
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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