ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Always open on Worksheet1, A1 even if last saved elsewhere (https://www.excelbanter.com/excel-discussion-misc-queries/227662-always-open-worksheet1-a1-even-if-last-saved-elsewhere.html)

B. Orr

Always open on Worksheet1, A1 even if last saved elsewhere
 
Is there a general setting to always reopen on the first worksheet,
regardless of where you were in the file when last saved?

Mike H

Always open on Worksheet1, A1 even if last saved elsewhere
 
Hi,

there's no setting but you can use the workbook open event. ALT+F11 to open
VB editor. Double click 'ThisWorkbook' and paste the code belwo in on the
right

Private Sub Workbook_Open()
Sheets(1).Activate
End Sub

Mike

"B. Orr" wrote:

Is there a general setting to always reopen on the first worksheet,
regardless of where you were in the file when last saved?


FSt1

Always open on Worksheet1, A1 even if last saved elsewhere
 
hi
a workbook_open macro would work
Private Sub Workbook_Open()
Sheets("sheet1").Activate
Range("A1").Activate
End Sub

Regards
FSt1

"B. Orr" wrote:

Is there a general setting to always reopen on the first worksheet,
regardless of where you were in the file when last saved?



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com