Not printing a single cell's value.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I may be asking this question in the wrong forum, but the "printing group"
does not seem very active

Is it possible to have a cell's value shown on the screen but when the page
is printed the cell would appear blank. It is a value that users of the sheet
need to see but not those who would just be viewing it on paper. Thank you Jay
 
You can run a macro to hide the cell's contents, print
out the sheet, then unhide the cell's contents.

Something like:

Sub test()
'Change A1 to correct cell
Application.ScreenUpdating = False
With ActiveSheet
.[A1].NumberFormat = ";;;"
.PrintOut
.[A1].NumberFormat = "General"
End With
Application.ScreenUpdating = True
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top