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

Word Object

Status
Not open for further replies.

RonKen

Technical User
Joined
Mar 9, 2002
Messages
6
Location
US
I am printing a word document from my VB application. The word doc is filled out by an access database. I need the form to print without actually making the doc visible to the user so i am using the document.quit command. The problem is that the doc trys to quit while it is printing. Is there a way to delay the quit until after the printing is finished??Any help would be appreciated!!Thanks..
 
Have WORD wait until document is spooled.
Application.Optons.PrintBackground = false
OR
Application.PrintOut PrintBackground:=False Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Thanks John!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top