Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Command Button
What is the VB to open a sheet when a command button is clicked.
I know this is very basic stuff for a lot of you and I do very much appreciate the help. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Command Button
Do you mean to select a sheet, or open a new workbook?
Try something like Private Sub CommandButton1_Click() Worksheets("mySheet").Activate End Sub or Private Sub CommandButton1_Click() Workbooks("C:\mybook.xls").Open End Sub HTH, JP On Apr 4, 5:34*am, Paul wrote: What is the VB to open a sheet when a command button is clicked. I know this is very basic stuff for a lot of you and I do very much appreciate the help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Command button | Excel Worksheet Functions | |||
Command Button Help | Excel Discussion (Misc queries) | |||
command button | Excel Discussion (Misc queries) | |||
command button | Excel Discussion (Misc queries) | |||
command button | New Users to Excel |