integritycare
Technical User
Hello,
I am looking for some advice on how to prevent the cover of an excel 2010 spreadsheet from printing.
There are 10 spreadsheets in the workbook, but I need to prevent sheet 1 or the name "Coversheet" from printing out.
I print the work book to PDF with the following code;
Thank You,
KP
I am looking for some advice on how to prevent the cover of an excel 2010 spreadsheet from printing.
There are 10 spreadsheets in the workbook, but I need to prevent sheet 1 or the name "Coversheet" from printing out.
I print the work book to PDF with the following code;
Code:
Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
Dim MyFullName As String
MyFullName = ThisWorkbook.FullName
ActiveWorkbook.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
MyFullName, Quality:=xlQualityMinimum, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True
Application.ScreenUpdating = True
End Sub
Thank You,
KP