Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Start at sprcific sheet every time opened

Is there a way to automatically open a specified sheet each time a
workbook is opened?

I want sheet 1 opened upon opening a workbook.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 196
Default Start at sprcific sheet every time opened

Hi

Yes there is - you need to add some code to the ThisWorkbook module of
the workbook concerned. You do this via the Visual Basic Editor
accessible via Alt+F11. Navigate to your workbook in the top left
Projects pane, and double-click on the ThisWorkbook module. Paste the
following code into the code pane which will appear to the right:

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

and that's it! You need to save this down, then when you open the
workbook (and Enable macros, if you are on Medium security), Sheet1
will be visible.

Hope this helps!

Richard


wx4usa wrote:
Is there a way to automatically open a specified sheet each time a
workbook is opened?

I want sheet 1 opened upon opening a workbook.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Start at sprcific sheet every time opened

right click the xl logo in the upper left of the screenview codeleft
window workbookright window

sheet1.select

--
Don Guillett
SalesAid Software

"wx4usa" wrote in message
ups.com...
Is there a way to automatically open a specified sheet each time a
workbook is opened?

I want sheet 1 opened upon opening a workbook.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Start at sprcific sheet every time opened

Richard, Thanka a bunch! This helps!

On Jan 21, 11:30 am, "RichardSchollar"
wrote:
Hi

Yes there is - you need to add some code to the ThisWorkbook module of
the workbook concerned. You do this via the Visual Basic Editor
accessible via Alt+F11. Navigate to your workbook in the top left
Projects pane, and double-click on the ThisWorkbook module. Paste the
following code into the code pane which will appear to the right:

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

and that's it! You need to save this down, then when you open the
workbook (and Enable macros, if you are on Medium security), Sheet1
will be visible.

Hope this helps!

Richard

wx4usa wrote:
Is there a way to automatically open a specified sheet each time a
workbook is opened?


I want sheet 1 opened upon opening a workbook.


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
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
time sheet to calculate 2 different columns John Sullivan Excel Worksheet Functions 1 October 21st 05 06:48 AM
Make sequential numbers each time sheet is opened Darrell Shuman Excel Worksheet Functions 1 October 19th 05 03:35 AM
Inserting Blank Rows Macro? Michael Saffer Excel Worksheet Functions 2 November 9th 04 06:23 PM


All times are GMT +1. The time now is 09:45 AM.

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"