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 to only print out certain rows from your data? It's easy to do if you apply the filtering or sorting techniques ...Discover More
Need a full-page border on your Excel printouts? It's not as easy to get one as you might wish. There are a few ways you can ...Discover More
If you are using a macro to create your printed Excel output, you may need a way to specify that paper should come from a ...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.