ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Printing in a Macro (https://www.excelbanter.com/excel-programming/273876-re-printing-macro.html)

Don Guillett[_4_]

Printing in a Macro
 
try
application.displayalerts=false
your code
application.displayalerts=true

--
Don Guillett
SalesAid Software
Granite Shoals, TX

"Dave DeJonge" wrote in message
...
Excel 97

I'm sure this is simple for most of you but I am stuck. I
have a macro that opens about 20 different files.. at one
point I want to print some of the files through the macro
but it keeps stopping on each sheet asking me about
whether I want to save changes or not when running the
macro... when nothing has happened.. how can I get around
this and just have the spreadsheets print?

Thanks in advance.





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

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