ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Print vs. Print Preview (https://www.excelbanter.com/excel-programming/279681-print-vs-print-preview.html)

Hawk

Print vs. Print Preview
 
Is there anyway to determine within the
Workbook_BeforePrint event whether 'Print' or 'Print
Preview' was selected ?

I would like the procedure to branch depending on which
was selected.

Does anything else trigger this event?

TIA

Chip Pearson

Print vs. Print Preview
 
I don't believe you can determine whether print preview is called in the
BeforePrint event.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Hawk" wrote in message
...
Is there anyway to determine within the
Workbook_BeforePrint event whether 'Print' or 'Print
Preview' was selected ?

I would like the procedure to branch depending on which
was selected.

Does anything else trigger this event?

TIA





All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com