Workbook

agonysWeeper

Board Regular
Joined
Feb 4, 2011
Messages
146
Hi Forum,

I have my book1 which has a 36sheets and sometimes I save it while I'm in sheet2 or any of those sheets, but problem is, I want this book to every time we open, its always focus on sheet1 (Sheet1 is the table of content) even we save it while in sheet36.

Can anyone help me here? thanks
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Try this in the ThisWorkbook module of the relevant workbook
Code:
Private Sub Workbook_Open()
    Application.Goto Reference:=Sheets(1).Range("A1"), Scroll:=True
End Sub
 
Upvote 0
1. Alt+F11 to open the VBA editor.

2. Locate your workbook name in the left hand pane and open it out with the '+' signs if necessary till you can see the items in the 'Microsoft Excel Objects' folder. You should see a list of your worksheets.

3. At the bottom of the worksheet list you should see an item called 'ThisWorkbook'. Double click it.

4. Copy the code I posted and paste it into the main right hand pane that opened at step 3.

5. Close the VBA window.

6. Save your workbook (preferably while you are not on the first sheet)

7. Close the workbook and re-open it.
 
Upvote 0

Forum statistics

Threads
1,224,567
Messages
6,179,571
Members
452,927
Latest member
whitfieldcraig

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top