Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Go to worksheet upon opening

Is there a way to have the same worksheet pop up every time the excel file is
opened......
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Go to worksheet upon opening

hi
yes.
Private Sub Workbook_Open()
Sheets("Sheet1").Activate
Range("A1").Select
End Sub

adjust the sheet name and range to suit
this is workbook code.
press ALT+F11. this will bring up the vb editor.
at the far right, expand your project(file). double click ThisWorkbook.
in the code window(far right), click the right drop down and select Workbook.
the workbook open event should default in (see above).
paste the two line between workbook open and end sub above between workbook
open and end sub in your vb editor. close the vb window and save the file.
next time you open the file the file, excel will goto the sheet and range
you specify.

Regards
FSt1

"SageOne" wrote:

Is there a way to have the same worksheet pop up every time the excel file is
opened......

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
opening worksheet maui172 Excel Discussion (Misc queries) 1 March 27th 08 11:23 PM
Opening Worksheet Mike Excel Discussion (Misc queries) 1 October 17th 06 04:21 PM
Opening a worksheet ssigler Excel Discussion (Misc queries) 1 May 12th 06 08:16 PM
VBA Opening worksheet, name changes Jeff Excel Discussion (Misc queries) 5 September 20th 05 06:00 PM
OPening worksheet teresa Excel Programming 1 December 12th 04 09:19 PM


All times are GMT +1. The time now is 03:44 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"