Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Is there a way to open an excel file to a specific worksheet?

Lets say I have an excel spreadsheet that has 5 tabs.
tab1, tab2, tab3, tab4, tab5.

Is there anyway to force excel to open
tab1 with shortcut #1
tab2 with shortcut #2
tab3 with shortcut#3
etc...
etc...

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Is there a way to open an excel file to a specific worksheet?

You cannot open a workbook to a specific sheet by shortcut alone.

You must have a shortcut to a workbook which has workbook_open code to set the
active worksheet.

Private Sub Workbook_Open()
Sheets("Sheet1").Activate
End Sub

You could have the above code run a macro which popped up a userform for user to
select which sheet to activate but that might be more hassle than just opening
the workbook and selecting a sheet from the sheet tabs.


Gord Dibben MS Excel MVP

On Tue, 5 Dec 2006 13:49:00 -0800, Nicholas
wrote:

Lets say I have an excel spreadsheet that has 5 tabs.
tab1, tab2, tab3, tab4, tab5.

Is there anyway to force excel to open
tab1 with shortcut #1
tab2 with shortcut #2
tab3 with shortcut#3
etc...
etc...

Thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retaining formats grok Excel Discussion (Misc queries) 11 October 31st 06 07:29 PM
mail merging 2 workbooks??? Bubba Gump Excel Discussion (Misc queries) 21 August 7th 06 09:13 AM
Excel file with hyperlinks takes a long time to open over the network Didier P Links and Linking in Excel 3 July 4th 06 04:39 PM
"Cannot access read-only document" (I get this error when I try to open an Excel file) [email protected] Setting up and Configuration of Excel 1 June 5th 06 01:15 PM
cannot open excel file, please help!!! sunlite Excel Discussion (Misc queries) 0 September 5th 05 05:29 PM


All times are GMT +1. The time now is 02:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"