bpeirson
Structural
- Apr 7, 2003
- 147
I would like to disable the ability to print certain worksheets in excel. The purpose is to force the user to print worksheets using an on screen button which triggers VBA code.
Is it possible to write an event procedure which would stop the printing process whenever the normal print dialogue was used for printing? If so would it also stop a VBA initiated print sequence?
I am also thinking that an event procedure for workbook activation could set the default printer to null or have all printouts go to a temporary print file. The result being that it would appear that the file had not printed thus requiring the user to click the button I want them to click. The chosen VBA code would simply choose the appropriate printer for a successful print out.
The complication I see for changing the default printer is that it would persist into other workbooks and applications.
Any thoughts or suggestions would be appreciated.
Is it possible to write an event procedure which would stop the printing process whenever the normal print dialogue was used for printing? If so would it also stop a VBA initiated print sequence?
I am also thinking that an event procedure for workbook activation could set the default printer to null or have all printouts go to a temporary print file. The result being that it would appear that the file had not printed thus requiring the user to click the button I want them to click. The chosen VBA code would simply choose the appropriate printer for a successful print out.
The complication I see for changing the default printer is that it would persist into other workbooks and applications.
Any thoughts or suggestions would be appreciated.