formating excel sheet

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Formating Excel Sheet

Formating Excel Sheet

resolvedResolved · Low Priority · Version 2007

Formating Excel Sheet

What can I do to allow users to view Excel sheet but not print the Excel sheet?

RE: Formating Excel Sheet

You can use a macro to do this. Press Alt & F11 to open the VBA for Excel editor. Double-click on ThisWorkbook in the left-hand panel. In the right-hand panel enter:

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Cancel = True
End Sub

Click on save icon and try and print now...

Tue 30 Aug 2011: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Deleting cells, Rows & columns

place your cursor on a cell, row number or column letter and use CTRL + -.

View all Excel hints and tips


Server loaded in 0.1 secs.