Don't print one thing on page

kason

New Member
Joined
Sep 11, 2002
Messages
1
We have a master log that we print for our customers. On the log we use the AutoFilter. We have labeled the cell so our users here know what the AutoFilter is for. However, we would like for that not to print with the rest of the log. Is there a way to do that?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Any number of ways. Hard to say which one will work if you don't tell us WHERE that information is.

Try this:
Set the print area of the page. For instance, select the cells of the first row you want to print and hit shift-ctrl-down arrow. File-Print area, Set print area.
 
Upvote 0
hi and welcome to the board -

what you could do is write a macro that changes the font color of the cells you do not want to show up on your print job so that the font color matches the cell background color. assuming background color is white and font color is black (defaults), and assuming that cell you want to not print is cell A1, you could use this macro:

Sub Print_Me()
Range("A1").Select
Selection.Font.ColorIndex = 2
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Selection.Font.ColorIndex = 0
End Sub

HTH
kevin
 
Upvote 0
If you are printing using a macro add code to change the Font color of the information you do not want to print to "White" at the begining of your print macro. Then change the informations Font color back to "xlAutomatic" below the print code and before you exit the macro code. JSW
 
Upvote 0

Forum statistics

Threads
1,216,174
Messages
6,129,296
Members
449,498
Latest member
Lee_ray

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top