G Guest May 18, 2007 #1 How do I get an Excel document to open directly to print preview? Can this even be done? Thanks.
G Gord Dibben May 18, 2007 #2 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
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
G Guest May 18, 2007 #3 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 Click to expand...
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 Click to expand...