Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4251462
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:39:54+00:00 2026-05-21T04:39:54+00:00

I have a total of five sheets in a workbook. My task is to

  • 0

I have a total of five sheets in a workbook. My task is to create a combo list button in the first sheet that will be able to point to the other four. If a user chooses one of the sheet names then the button will automatically activate the chosen sheet. It is unlikely that sheets will be deleted, though likely that sheets will be added.

I’m not even sure how to get the sheet names to show up on the combo list.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T04:39:55+00:00Added an answer on May 21, 2026 at 4:39 am

    In order to make the combobox change the active sheet, I believe you’ll need to use VBA (as I don’t know how to do it using validation lists).

    To do it, you’ll have to:

    1st – Add a combobox into your first sheet and properly name it (I called it cmbSheet). I suggest to use an ActiveX Combobox (in Excel 2007, under Developer tab).

    2nd – Open VBA and add the below code into your workbook code. This code will populate the combobox with the sheet names every time the workbook is opened.

    Private Sub Workbook_Open()
    
        Dim oSheet As Excel.Worksheet
        Dim oCmbBox As MSForms.ComboBox
    
        Set oCmbBox = ActiveWorkbook.Sheets(1).cmbSheet
    
        oCmbBox.Clear
    
        For Each oSheet In ActiveWorkbook.Sheets
    
            oCmbBox.AddItem oSheet.Name
    
        Next oSheet
    
    End Sub
    

    3rd – Now, go to the code of your first sheet (where the combobox has been added) and add the code that will activate the sheet chosen in the combobox. The code is

    Private Sub cmbSheet_Change()
    
        ActiveWorkbook.Sheets(cmbSheet.Value).Activate
    
    End Sub
    

    Now, when the combobox value changes, the respective sheet is activated.

    Let us know if something ins’t clear and we’ll help you out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How would I create a DecimalFormat that would only have seven digits total and
I have a total variable that I update with a refresh get request using
I have one datatable. In that table I have columns named [Total Day], [Present
I have a to-do list with 5 tasks that are stored on the same
I have Total Amount Stored in Some Variable,Two TextBoxes, Discount Percentage Discount Amount that
I have a sql table which has five columns Count1 float Count2 float Total
I have a form that uses PHP to calculate a total based on the
For class I have an assignment: Write a C++ program that will output the
I am creating a table that has a total of five columns. DUring the
i have total 70,000 records in database. currently i displays all the records in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.