+ Reply to Thread
Results 1 to 8 of 8

Create button to open sheet

  1. #1
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Create button to open sheet

    I have code that creates a new sheet in the active workbook and requires input to name the sheet. My problem is that I also need to create a button on sheet1 that opens the newly created sheet and names the button the same as the sheet name.

    This is my code for creating the new sheet that works fine.
    Please Login or Register  to view this content.
    Can anyone help me?
    Last edited by arlu1201; 05-16-2012 at 03:53 AM. Reason: Code tags needed here.

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Create button to open sheet

    hi!
    please use code tags!
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Create button to open sheet

    Hi John,

    Sorry I do not know what you mean. I am new to all this.

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Create button to open sheet

    no problem!
    see
    "3. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Select your code and click the [#] button at the top of the post window (if you are editing an existing post, press Go Advanced to see the [#] button). The result will appear like this in the post window:"

    http://www.excelforum.com/forum-rule...rum-rules.html

  5. #5
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Create button to open sheet

    I think I got,

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Create button to open sheet

    Thak you John for your help with posting code. Much appreciated.

  7. #7
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Create button to open sheet

    is this what you want?
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    05-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Smile Re: Create button to open sheet

    Hi John,
    this is what I have so far and in the triple brackets is what I need to do. This works well if I refer to an existing macro to open a sheet.

    Please Login or Register  to view this content.
    Hope I have explained my situation properly. Thanks for your interest.

+ 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