Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
with YourSheetObject
.visible=xlsheetvisible
.printout
.visible=xlsheethidden
end with
but I don't want them to be able to get into the print dialog box
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Cancel = True
Application.EnableEvents = False
ActiveSheet.PrintPreview False
Application.EnableEvents = True
End Sub