You need to add a button for the excel sheet (say sheet1 ), from which you can go to another sheet (say sheet2 ).
The button can be added from the Developer tab in excel. If the developer tab is missing, follow these steps to enable it.
GOTO file -> options -> Configure ribbon -> enable the developer flag in the right pane -> Finish.
Add Button: -
developer tab β Insert β select the button of the first element β select the location of the button-> Finish.
To specify a button name: -
Right-click on the button β edit the text.
To add code to go to sheet2: -
Right click -> Assign Macro -> New -> (Microsoft Visual Basic opens for the code for the button) -> paste the code below
Worksheets("Sheet2").Visible = True Worksheets("Sheet2").Activate
Save the file using the "Excel Macro Resolution Template (*. Xltm)", with which the code is added using an excel sheet.
Rohan khude
source share