francozola25
Board Regular
- Joined
- Aug 22, 2007
- Messages
- 96
Hello
I was wondering if anyone could help me. I am trying to run a macro that will print off word docs. However my macro stops at a doc, stating, there is a problem with the margins of section.... click yes or no. If i click yes the macro wil continue. I want to find a way of not having to call the message
I have tried, application.displayalerts = wdAlertsNone
but no luck
I have also tried the following
This works but now i get a message saying Printing page 1 of .....
I do not want this as my code is in a loop and i print off alot of files.
Screenupdating has not done anthing either.
I was wondering if anyone could help me. I am trying to run a macro that will print off word docs. However my macro stops at a doc, stating, there is a problem with the margins of section.... click yes or no. If i click yes the macro wil continue. I want to find a way of not having to call the message
I have tried, application.displayalerts = wdAlertsNone
but no luck
I have also tried the following
Code:
Dim x As Boolean
x = Options.PrintBackground
Options.PrintBackground = False
bDoc.PrintOut
Options.PrintBackground = x
This works but now i get a message saying Printing page 1 of .....
I do not want this as my code is in a loop and i print off alot of files.
Screenupdating has not done anthing either.