![]() |
Macro to include Close Print Preview
I've written a macro that includes doing pagesetup in print preview and then
I included close print preview in the macro, but when I run the macro it ends with displaying the print preview. Is there anyway that I can change the VBA to close the window without having to rewrite my entire macro? |
Macro to include Close Print Preview
You can't close the print preview, the user has to do that.
Do you want to change print preview settings? You can do that without displaying print preview. - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services Tutorials and Custom Solutions http://PeltierTech.com/ _______ "Vic" wrote in message ... I've written a macro that includes doing pagesetup in print preview and then I included close print preview in the macro, but when I run the macro it ends with displaying the print preview. Is there anyway that I can change the VBA to close the window without having to rewrite my entire macro? |
All times are GMT +1. The time now is 09:11 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com