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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Supress Word messages when using wordobj.PrintOut 1

Status
Not open for further replies.

tpsmith

Technical User
Jan 5, 2005
25
GB
Hi

Using Access I am trying to print out documents from Word using wordobj.

This works fine until there is a document where the margins are not set correctly and it prompts with an "Are You Sure" message, is it possible to supress these messages and print regardless.

Any help will be much appreciated.

Thank you.
 
Have you tried wordobj.DisplayAlerts = False ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top