Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Set active worksheet on startup

I have a excel file with several worksheets. I would like to ensure that a
specific worksheet is the active worksheet every time a user opens the file.

Thanks in advance for any help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Set active worksheet on startup

Use the ThisWokbook module; open it and use the comboboxes three to navigate
to the Open event (go from "(General) -- (Declarations)" to "Workbook --
Open". Excel will create a stub for you like the one below. All you need to
add is one line, also as shown.

------------------------------------------
Private Sub Workbook_Open()
Worksheets("YourSpecialSheetName").Activate
End Sub
------------------------------------------

"Duplicate entries" wrote in
message ...
I have a excel file with several worksheets. I would like to ensure that a
specific worksheet is the active worksheet every time a user opens the
file.

Thanks in advance for any help.



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
Open a blank worksheet at startup Art@ISCO Excel Discussion (Misc queries) 1 July 17th 07 04:02 PM
Blank worksheet at startup Art@ISCO Setting up and Configuration of Excel 0 July 17th 07 01:58 PM
Startup on a specific worksheet Jens Palacios Neffke[_2_] Excel Discussion (Misc queries) 4 April 12th 07 12:16 AM
How do I set a worksheet to be the default at startup? Dan Dobill Setting up and Configuration of Excel 3 December 22nd 05 06:12 PM
Excel worksheet startup Joseph[_7_] Excel Programming 3 October 19th 03 02:56 PM


All times are GMT +1. The time now is 12:02 AM.

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"