ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   workbook before print target (https://www.excelbanter.com/excel-programming/400234-workbook-before-print-target.html)

mwam423

workbook before print target
 
greetings, is it possible to use Wookbook_Before Print event with a target
worksheet, i.e., event occurs only when printing one worksheet out of a
workbook?

OssieMac

workbook before print target
 
You can insert a test of the ActiveSheet Name

If Activesheet.Name = "Sheet1" then
'Insert Code here
End if

Regards,

OssieMac

"mwam423" wrote:

greetings, is it possible to use Wookbook_Before Print event with a target
worksheet, i.e., event occurs only when printing one worksheet out of a
workbook?


mwam423

workbook before print target
 
i see, appreciate the reply




All times are GMT +1. The time now is 10:05 AM.

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