ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Open WB on spesific sheet each time (Excel 2003) (https://www.excelbanter.com/excel-discussion-misc-queries/234239-open-wb-spesific-sheet-each-time-excel-2003-a.html)

Espen Rostad[_2_]

Open WB on spesific sheet each time (Excel 2003)
 
I have a WB with lots of sheets where one is a navigation sheet. I would like
the workbook to always open on this sheet no matter what sheet is active when
saving the WB.

Than you

Jacob Skaria

Open WB on spesific sheet each time (Excel 2003)
 
Place the below code in Open event. Rename the 'sheet1' to your navigation
sheet name

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

If you are new to VBE and macros , set the Security level to low/medium in
(Tools|Macro|Security). From workbook launch VBE using short-key Alt+F11.
From the left tree view double click 'This Workbook' and copy the above code.
Save and get back to workbook..

If this post helps click Yes
---------------
Jacob Skaria


"Espen Rostad" wrote:

I have a WB with lots of sheets where one is a navigation sheet. I would like
the workbook to always open on this sheet no matter what sheet is active when
saving the WB.

Than you


Espen Rostad[_2_]

Open WB on spesific sheet each time (Excel 2003)
 
Thank you again Jacob. That worked perfectly!

Jacob Skaria skrev:

Espen Rostad[_2_]

Open WB on spesific sheet each time (Excel 2003)
 
Can I also lead to a spesific cell?

Jacob Skaria skrev:



All times are GMT +1. The time now is 05:50 AM.

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