by Allen Wyatt
(last updated November 15, 2016)
If you are working with a sensitive worksheet, you may wonder if it is possible to prevent a user from actually printing the worksheet. Unfortunately, there is no foolproof way short of making sure the user doesn't have a printer attached to their system.
You can, depending on your version of Excel, customize the program so the print-related commands are removed from the toolbars and menus. You can also replace Excel's built-in print commands with commands that do nothing. However, that doesn't stop people from actually doing a screen print of what is on the computer screen, thereby ending up with the information on a printout. In addition, people could bypass executing the macros by disabling them when the workbook is loaded. Another way around such customizations is for the user to simply copy text from the print-inhibited worksheet and paste it into a new worksheet that has no such customizations. The worksheet could then easily be printed.
You can also try non-Excel solutions, such as using Adobe Acrobat to create a protected PDF file that cannot be printed. However, even then the user could still do a screen print of what they see.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3323) applies to Microsoft Excel 97, 2000, 2002, and 2003.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
Need your printed output to look its best? You may need to change the settings used by your printer, then. Here's how to ...Discover More
When printing a worksheet, there may be times when you want to send the printer output to a disk file instead of to the ...Discover More
Tired of wasting paper when you print a worksheet? You can scale Excel's output so that it fits only the number of pages ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.