Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to make a command button that if clicked will jump the user to
another sheet and/or file. (e.g. if "Inspection" button is clicked it will jump to the Inspection sheet in the same workbook. Help me please. Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Ken,
Try: '============= Private Sub CommandButton1_Click() Dim WB As Workbook Dim SH As Worksheet Set WB = ThisWorkbook Set SH = WB.Sheets("Inspection") SH.Activate End Sub '<<============= To activate a sheet in another (open) workbook, replace: Set WB = ThisWorkbook with SetWB = Workbooks("OtherWorkbook.xls") --- Regards, Norman "Ken Vo" wrote in message ... I am trying to make a command button that if clicked will jump the user to another sheet and/or file. (e.g. if "Inspection" button is clicked it will jump to the Inspection sheet in the same workbook. Help me please. Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for your help Norman, but it didnt work.
"Norman Jones" wrote: Hi Ken, Try: '============= Private Sub CommandButton1_Click() Dim WB As Workbook Dim SH As Worksheet Set WB = ThisWorkbook Set SH = WB.Sheets("Inspection") SH.Activate End Sub '<<============= To activate a sheet in another (open) workbook, replace: Set WB = ThisWorkbook with SetWB = Workbooks("OtherWorkbook.xls") --- Regards, Norman "Ken Vo" wrote in message ... I am trying to make a command button that if clicked will jump the user to another sheet and/or file. (e.g. if "Inspection" button is clicked it will jump to the Inspection sheet in the same workbook. Help me please. Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linking WorkBOOKS across directories | Excel Worksheet Functions | |||
Linking sheets between workbooks... | Links and Linking in Excel | |||
linking to multiple workbooks | Excel Discussion (Misc queries) | |||
Linking Workbooks | Excel Worksheet Functions | |||
Linking sheets to a summary sheet in workbook | Excel Discussion (Misc queries) |