Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nimbus55
 
Posts: n/a
Default Always open a worksheet at A1

I have created a file with several worksheets - there will be about 20 tabs
in all and hyperlinks to navigate between them. When I move from worksheet to
worksheet, using tabs or hyperlinks, it doesn't always open at A1...how can
I ensure that a worksheet will always open at A1?
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

Be careful what you ask for you may just get it.
It will play havoc with hyperlinks to cells as well as not put you
where you left that sheet.

Code goes into this workbook
right click on the excel logo to the left of the menu bar
view code
insert the following code after Option Explicit

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
ActiveSheet.Cells(1, 1).Activate
End Sub
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Nimbus55" wrote in message ...
I have created a file with several worksheets - there will be about 20 tabs
in all and hyperlinks to navigate between them. When I move from worksheet to
worksheet, using tabs or hyperlinks, it doesn't always open at A1...how can
I ensure that a worksheet will always open at A1?



  #3   Report Post  
Nimbus55
 
Posts: n/a
Default

Thanks David..looks like it worked.
Sharon

"David McRitchie" wrote:

Be careful what you ask for you may just get it.
It will play havoc with hyperlinks to cells as well as not put you
where you left that sheet.

Code goes into this workbook
right click on the excel logo to the left of the menu bar
view code
insert the following code after Option Explicit

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
ActiveSheet.Cells(1, 1).Activate
End Sub
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Nimbus55" wrote in message ...
I have created a file with several worksheets - there will be about 20 tabs
in all and hyperlinks to navigate between them. When I move from worksheet to
worksheet, using tabs or hyperlinks, it doesn't always open at A1...how can
I ensure that a worksheet will always open at A1?




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
Worksheet Revision Date only once that day mikeburg Excel Discussion (Misc queries) 0 August 16th 05 12:39 AM
Inserting Filtered RC cell information into other worksheets Dennis Excel Discussion (Misc queries) 10 July 30th 05 01:54 AM
Microsoft Excel Viewer 2003 won't open Microsoft Excel Worksheet Graham Jones Excel Discussion (Misc queries) 1 May 13th 05 12:58 AM
Why does excel create a copy of the worksheet i open Renee Excel Discussion (Misc queries) 4 March 2nd 05 06:17 PM
how do i open Excel program without loading a new worksheet? mElissA Excel Discussion (Misc queries) 4 December 31st 04 01:56 AM


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