• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Main sheet tab

maxwel

New Member
How would I set by default opening my worksheet file which goes directly to main tab where all my dash board are plotted and not on the sub tab?
 
Copy the following subroutine to the ThisWorkbook Module in VBA (Alt F11)


Change the Sheet name and Starting range to suit

[pre]
Code:
Private Sub Workbook_Open()
Sheets("Main").Select
Range("D10").Select
End Sub
[/pre]

Save the file as a *.xlsm


Every time you open it, it will go directly to Main!D10
 
Back
Top