ExcelBanter

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

OlieH

Print Preview and Print
 
I have a macro, and I need to show the operator a spreadsheet that may have
90 lines on it (long enough to force scrolling to see all of it), and not
allow printing of the spreadsheet. I can do a dialog print preview, but that
allows print. If I use "Before print" macro to cancel print, they can't use
printpreview either. I don't want to give control to the operator. I have
tried printing to a file, but the operator must specify file location
and name. That would give the operator control. (I don't seem to be able to
set the file name within the dialog box)

Your help is greatly appreciated.



All times are GMT +1. The time now is 05:17 PM.

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