Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Have multiple worksheets in an excel file and want a specific worksheet to be
in the forefront when opening the excel file. How to do this? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
j,
Put this code into the codemodule of the ThisWorkbook Object. Private Sub Workbook_Open() Worksheets(1).Activate End Sub Change the 1 to the specific sheet index. Or, if the users can change the order of the sheets or add new sheet, and you want a specific sheet selected: Private Sub Workbook_Open() Worksheets("Sheet Name").Activate End Sub Or, if users might change the name on the tab of that specific sheet: Private Sub Workbook_Open() shtCodeName.Activate End Sub If you are unclear on the how to implement any of these, post back. HTH, Bernie Deitrick MS Excel MVP "jbankert" wrote in message ... Have multiple worksheets in an excel file and want a specific worksheet to be in the forefront when opening the excel file. How to do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
I open one excel worksheet, PERSONAL.XLS also opens, why? | Excel Discussion (Misc queries) | |||
Any way to open an excel file directly to a worksheet? | Excel Discussion (Misc queries) | |||
How do I apply a default size to all comments in Excel worksheet? | Excel Discussion (Misc queries) | |||
Hyperlink to specific worksheet in Excel | Links and Linking in Excel |