borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (docmd.maximize)Next Topic (Troubles creating MDE file ... hlp please!!) New Topic New Poll Post Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Print but do not open
Poster Message
jawae
Level: Whizz Kid

Registered: 30-08-2005
Posts: 18

icon Print but do not open

Hi,

I would like to print an MSWord document from within MS Access 2003.

I can open the desired document, but I would like to have the document printed only.

If the document opened, printed and then closed (all in one command), that would be ok too.

I was thinking that maybe I have to add a few command letters after the folder\filename.doc line that maybe it would work?

Thanks.

____________________________
Jason

31-12-2006 at 01:35 AM
View Profile Send Email to User Show All Posts | Quote Reply
jawae
Level: Whizz Kid

Registered: 30-08-2005
Posts: 18
icon Re: Print but do not open

I answered my own question by visiting
http://support.microsoft.com/kb/210030

However, it seems cumbersome to add an OLEobject for each and every document that I would like to print. Does anyone know a more efficient method for printing 5-6 documents?

Ideally, I would like to have a couple VBA lines alone (without having to add objects to my form) that will do the job.

____________________________
Jason

31-12-2006 at 05:48 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Print but do not open
Previous Topic (docmd.maximize)Next Topic (Troubles creating MDE file ... hlp please!!) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder