ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   disable print option, not Workbook_BeforePrint (https://www.excelbanter.com/excel-programming/305255-disable-print-option-not-workbook_beforeprint.html)

Andoni[_4_]

disable print option, not Workbook_BeforePrint
 
Hi!


I would like to allow user to use the PrinPreview

to disable this option i suppose I can use this
Sorry If I am wrong I do not have a printer!

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Cancel = True
End Sub

but How can i prevent to print from Excel, allowing the print preview


Many thanks

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 01:28 PM.

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