Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I skip a pop-up question box?

Status
Not open for further replies.

acjeff

Programmer
Aug 10, 2004
148
US
I am writing macros for MS Word and using VB code to push printing a document. However, the page margin will be out of the printing area so every time there is a pop-up question asking if the user wants to continue printing.

Can I write some codes to skip or ignore this pop-up and just keep printing?

Jeff
 
Have you tried the Application.DisplayAlerts property ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Hi,

I just tried both Application.DisplayAlerts = wdAlertsNone and it still popped up the message Margin out of print area.

Any other idea?

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top