How to prevent Excel from waiting for user action when printing a file with macro?

Hello

I use PDF Creator 1.7 in server mode and access it via the  COM interface (.Net) .


When I try to print a xls file containing macro, Excel is waiting for the user to save/cancel the modifications.

Is there a way to ignore all the users actions  launched  by Excel ? Or any other software that pdf creator will be using to generate pdf files.


Thanks