Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

How To Run code Before Print Preview

$
0
0
We have recently been changed from 2003 to 2010 and the Workbook_BeforePrint no longer seems to work, the code doesn't run on showing the preview it only runs when Print is actually pressed.

I have added a example worksheet as the real one contains rather a lot of data and its too complicated to strip out.

in Module2 are the subs I use in the main sheet to check row height and adjust merged cells fo a report

regards
John


cross-posted here http://www.ozgrid.com/forum/showthre...681#post625681
Attached Files

Viewing all articles
Browse latest Browse all 50070

Trending Articles