I have a sheet that can only be printed if certain cells have been populated using the before_print event.
The problem is I want to print preview without needing to fill in all the required fields. The print event and print preview events are one in the same.
How can I run a piece of code to cancel the event of printing but not for print previewing?
The problem is I want to print preview without needing to fill in all the required fields. The print event and print preview events are one in the same.
How can I run a piece of code to cancel the event of printing but not for print previewing?