When I open a workbook, I want the active sheet to show Print Preview, and then to close it.
I can't find anything on how to close it.
Sending keys to Escape threw an error.
I can't find anything on how to close it.
Sending keys to Escape threw an error.
VBA Code:
Private Sub Workbook_Open()
ActiveWindow.SelectedSheets.PrintPreview
'Something to close Print Preview
End Sub