Don't want certain cells to print (but I want them visible on screen).

Is there any way to format cells so they don't print but they are visible on-screen?
 

Question Info


Last updated December 6, 2018 Views 24,544 Applies to:
Answer

Ron de Bruin shares a couple of macros that hide rows/columns or changes the
font color to match the fill color, then prints, then resets things.

Another option if you don't want to use macros is to use conditional formatting
to hide the values in the cells using the same font color as fill.

For example, you could use a conditional formatting formula like:
=$x$1="Print"

And apply it to the range you want.

Then change that value in X1 to Print, print the worksheet, then clear that
cell.

cynergy wrote:


Is there any way to format cells so they don't print but they are visible on-screen?

--

Dave Peterson

20 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer

Nice ideas, Dave.

I was thinking of something like redefining a Style but the conditional formatting idea is better.

cynergy: the Ron de Bruin examples are at http://www.rondebruin.nl/print.htm


Bill Manville. Excel MVP, Oxford, England. www.manville.org.uk
Microsoft Excel MVP, Oxford, England. www.manville.org.uk

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.