+ Reply to Thread
Results 1 to 3 of 3

opening the other sheet with the commandbutton in the present sheet

  1. #1
    Registered User
    Join Date
    08-14-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    22

    opening the other sheet with the commandbutton in the present sheet

    Good morning to all.

    I placed a command button on an excel sheet of the workbook and I need to open the sheet2 from the sheet1 (command button is placed on sheet 1)

    Pls suggest me the solution. THanks in advance
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: opening the other sheet with the commandbutton in the present sheet

    Change macro code to

    Sub Button1_Click()
    Sheets("sheet2").Select
    End Sub
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    08-14-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: opening the other sheet with the commandbutton in the present sheet

    thank you very much guruji.

    If possible, i posted on query in the same group about the adjustment of uneven cell widths along with the attachment. Pls solve sir.

+ 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