Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code which prevents priniting of a document. Would
it be possible to allow printing if the correct password was entered within a userform? So on clicking the Print Icon an input box which required the password would appear, if it is correct, document prints, if it isn't document doesn't. If so how would I do it? Thanks Private Sub Workbook_BeforePrint(Cancel As Boolean) Cancel = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cancel printing a worksheet | Excel Worksheet Functions | |||
Cancel printing a worksheet | Excel Worksheet Functions | |||
Disabling 'Cancel' option when saving work (Yes/No/Cancel) | Excel Programming | |||
Cancel Macro is user selects 'cancel' at save menu | Excel Programming | |||
Use code to cancel printing | Excel Programming |