LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Open spreadsheet on specific tab

Hi

Paste this event code into the code sheet for ThisWorkbook:

Private Sub Workbook_Open()
Worksheets("Main").Activate
End Sub

Regards,
Per

On 23 Sep., 23:05, Alberta Rose
wrote:
I have a file with multiple worksheets. *I want one specific worksheet called
Main to be opened when the file is opened. *Right now the file opens which
ever worksheet was viewed last before it was closed. *Is there some vba
coding that I could do this with, I've searched, but no luck.

Thanks.


 
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
Automatically open a specific spreadsheet when opening Excel Carlos Setting up and Configuration of Excel 2 December 1st 09 08:06 PM
Can you force a spreadsheet to open to a specific cell reference? KatJ Setting up and Configuration of Excel 3 November 8th 06 11:32 PM
Open an Excel file to a specific spreadsheet Fatmosh Excel Programming 6 January 26th 06 01:14 PM
How do I automatically open a spreadsheet in a specific worksheet? GT Excel Discussion (Misc queries) 1 September 2nd 05 07:25 PM
How to open another Excel spreadsheet to copy data into current spreadsheet ? Ricky Pang Excel Programming 0 July 13th 03 01:59 PM


All times are GMT +1. The time now is 05:11 PM.

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

About Us

"It's about Microsoft Excel"