Main Topics
Browse All Topicsprinting a word document through MS Access 2003 vba using a specific printer chosen by user from the print dialog..
This is the code I have, can't figure where I am going wrong or is there anyother approach to solve this. The printer should be selected by the user through print dialog only,.
Dim MsWord As Word.Application 'Opens WINWORD
Set MsWord = CreateObject("Word.Applica
MsWord.Documents.Open filename:="c:\temp.doc"
MsWord.Dialogs(wdDialogFil
MsWord.Documents.PrintOut
MsWord.Documents.Close
MsWord.Quit
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I think you have the answer to your question now,
if Word document is Hidden, then the print dialog will not show.
I would suggest going with my 1st post, with a specific printer.
since you have a few files to work with,
segregate the files as, which file will be printed on which printer,
then do a few buttons in the Access Form, a button for a printer, which will print batch on that specific printer.
jaffer
Business Accounts
Answer for Membership
by: jjafferrPosted on 2009-11-06 at 10:08:43ID: 25761457
see this link for code
MacrosVBA/ ChangeCurP rinter.htm
http://word.mvps.org/faqs/
jaffer