Thanks in advance for this one..

B

Bob Umlas

Tools/Options/General tab, Sheets in New Workbook -- change this to 1.
Bob Umlas
Excel MVP
 
W

while

Hi all,

Is there a way to make Excel load by default with only 1 worksheet in the workbook? 3 is just to confusing to me..

Thanks,

While.
 
S

SupportX

Subject: RE: Thanks in advance for this one..

I don't know about default setting, but you can hide worksheets.
 
B

Bob Phillips

Try again with the code

Private Sub Workbook_Open()
Dim i As Long
For i = 2 To ThisWorkbook.Worksheets.Count
Worksheets(i).Visible = xlSheetHidden
Next i
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code
 
Top