Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to stop anyone from printing a spreadsheet. Is this possible?
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Prevent? Yes, it's impossible.
Make it somewhat difficult for a novice user? Sure. Put this in the ThisWorkbook module of your workbook: Private Sub Workbook_BeforePrint(Cancel As Boolean) Cancel = True End Sub However, this will not prevent anyone from printing a screenshot. In article , RVal wrote: I am trying to stop anyone from printing a spreadsheet. Is this possible? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Also, if the user doesn't have macros enabled then it will have no effect at all and the user can print away with no hint of
trouble. -- RMC,CPA "RVal" wrote in message ... I am trying to stop anyone from printing a spreadsheet. Is this possible? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi JE McGimpsey I tried it, but unforunitly it does not work, can u explain in detail Thanks Abhishek kedia "JE McGimpsey" wrote: Prevent? Yes, it's impossible. Make it somewhat difficult for a novice user? Sure. Put this in the ThisWorkbook module of your workbook: Private Sub Workbook_BeforePrint(Cancel As Boolean) Cancel = True End Sub However, this will not prevent anyone from printing a screenshot. In article , RVal wrote: I am trying to stop anyone from printing a spreadsheet. Is this possible? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In article ,
Abhishek kedia wrote: I tried it, but unforunitly it does not work, can u explain in detail Not sure I can explain in any more detail than my original reply... - Did you put the code in the ThisWorkbook code module? - Are macros enabled? - Did you set a breakpoint in the code to see if it fired when you tried to print? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do use list with protect sheet function? | Excel Discussion (Misc queries) | |||
how do I protect formula's only, not entire sheet or book? | Setting up and Configuration of Excel | |||
How to protect sheet but allow grouping to work | Excel Worksheet Functions | |||
Copying multiple sheets from one book 2 another and undertake spec | Excel Discussion (Misc queries) | |||
Naming & renaming a sheet tab | Excel Worksheet Functions |