• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

macro to select worksheet for active

kalpeshpatel

New Member
Hello,


my workbook contain many worksheet


i want to create a macro in sheet1 to select other worksheet


e.g.


when click command button go to the worksheet2


how possible it
 
In a module in the VBA.

[pre]
Code:
Sub SelectSheet2()
Worksheets("My Sheet").Select
End Sub
[/pre]
Then, assign the macro to your command button.
 
Hi, kalpeshpatel!

Give a look at this:

http://www.2shared.com/file/TSaa_uNp/macro_to_select_worksheet_for_.html

Regards!
 
Hi, kalpeshpatel!

Here it is in 4shared, file in 2shared was unreachable:

http://www.4shared.com/file/W8uMuDCe/macro_to_select_worksheet_for_.html

Regards!
 
Back
Top