by Allen Wyatt
(last updated November 6, 2021)
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.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
Want a list of all the worksheets in your workbook? Here's a short, handy macro that will place all the worksheet names ...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
When the data on a worksheet occupies more than one printed page, Excel can easily determine where the first page of data ...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.