Open in print preview

M

Me

How do I get an Excel document to open directly to print preview? Can this
even be done?

Thanks.
 
G

Gord Dibben

You would have to do this using workbook_open code.

Private Sub Workbook_Open()
ActiveWindow.SelectedSheets.PrintPreview
End Sub

Right-click on the Excel logo left of "File" on the menu or on the logo at left
end of title bar if not maximized.

Select "View Code".

Copy/Paste the above code into that modulw.

Save/close and re-open.


Gord Dibben MS Excel MVP
 
M

Me

It worked perfectly.

Thank you!

Gord Dibben said:
You would have to do this using workbook_open code.

Private Sub Workbook_Open()
ActiveWindow.SelectedSheets.PrintPreview
End Sub

Right-click on the Excel logo left of "File" on the menu or on the logo at left
end of title bar if not maximized.

Select "View Code".

Copy/Paste the above code into that modulw.

Save/close and re-open.


Gord Dibben MS Excel MVP
 
Top