Assigning a macro to a button

H

hberg

I would like to record a command to bring me to a different sheet on the same
workbook
 
C

Chip Pearson

Use Application.Goto. For example,

Application.Goto ThisWorkbook.Worksheets("Sheet3").Range("A1"), True

If you don't need to go to a specific cell, you can Activate the
desired sheet:

Worksheets("Sheet4").Activate



Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]
 
Top