Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Looking for a way to output to multiple sheets when creating an excel file
from a program. Is there some command-line switch or other feature one can use to specifiy which worksheet to open or write to when an excel file is openned? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can use the Workbook_Open event to specify which worksheet is active upon
opening. Private Sub Workbook_Open() Worksheets("Sheet3").Activate End Sub The above code snippet would go in the ThisWorkbook code module. To access that code module, press Alt + F11. Either double click on ThisWorkbook in the project window in the left panel of the screen, or right click on it and then click on View Code from the drop down menu. If you put the above code in that code module, it will bring up sheet 3 each time you open the workbook. "Tim_at_TDR" wrote: Looking for a way to output to multiple sheets when creating an excel file from a program. Is there some command-line switch or other feature one can use to specifiy which worksheet to open or write to when an excel file is openned? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open excel file and reffer to specific worksheet | Excel Programming | |||
Is there a way to open an excel file to a specific worksheet? | Excel Discussion (Misc queries) | |||
Any way to open an excel file directly to a worksheet? | Excel Discussion (Misc queries) | |||
I need Code to open DBF file in an excel worksheet | Excel Programming | |||
From HTML open a specific worksheet within a excel file | Excel Programming |