Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In beforeprint
make you changes disable events issue a command to print enable evens change back ' now cancel the original print command cancel = true End beforeprint event. The disadvantage is there is no easy way to differentiate a print preview from a print command, and both fire the beforeprint event - so you would force a print when the user only wants a print preview -- Regards, Tom Ogilvy "SFatz" wrote in message ... I would like to change the format on certain cells on a worksheet when a user prints the worksheet. Then, after the print is complete, I would like to restore the formatting back to its original state. I can add code to the BeforePrint event to change the format, but am having problems restoring the format as there is no AfterPrint event. Does anyone have an idea or tip to use for cases like this. Thank you in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Please Help: Macro Nearly Finished | Excel Discussion (Misc queries) | |||
Loop until finished | Excel Discussion (Misc queries) | |||
Loop until finished. | Excel Discussion (Misc queries) | |||
How to know if a sort is finished sucessfully? | Excel Programming |