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

formating excel sheet

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

Formating Excel Sheet

ResolvedVersion 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.

Excel tip:

Use the Format Painter to copy formatting more than once in Excel

The format painter tool provides a quick and easy way to copy formatting from one cell to another in Word.

The only problem is that if you click the Format Painter once to turn it on, you can only click and drag over a single cell or adjacent range of cells; then the Format Painter turns itself off automatically.

If you want to copy formatting to cells or groups of cells that are not adjacent to each other, double-click the Format Painter - this way you will be able to copy formatting to multiple cells.

When you have finished using Format Painter, press the Esc key or click on the Format Painter button once to turn it off.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.