ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to disable printing a specific worksheet? (https://www.excelbanter.com/excel-worksheet-functions/131679-how-disable-printing-specific-worksheet.html)

Efzed

How to disable printing a specific worksheet?
 
I want to know if there is any way where even if you click the PRINT icon in
excel, the particular worksheet will not print. In other words, I want to
restrict printing a worksheet in a workbook.

JE McGimpsey

How to disable printing a specific worksheet?
 
You could use a Workbook_BeforePrint() event macro to intercept print
commands and skip printing the particular sheet. However,

(a) Setting security to High or not enabling macros when opening the
workbook will bypass the event macro

(b) the event macro won't prevent printing a screen shot

(c) the event macro won't prevent copying the data to a new workbook and
printing that workbook.

So unless you're just trying to save paper, it's largely an exercise in
futility.


In article ,
Efzed wrote:

I want to know if there is any way where even if you click the PRINT icon in
excel, the particular worksheet will not print. In other words, I want to
restrict printing a worksheet in a workbook.



All times are GMT +1. The time now is 06:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com