If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Printing Word Documents from Access
From an Access module I can open a Word template and
populate bookmarks from data in a recordset. This works nicely, but results in several open documents which have to be individually printed and closed.Is there a method to automate printing the documents in my module? I would like it to work similiar to opening an Access report as acnormal. Thanks, Ron |
#2
|
|||
|
|||
Printing Word Documents from Access
Ron:
Assuming that you have a document object in your existing code representing the document you've filled and now want to print, all you need to do is add code like this: objDoc.PrintOut , _ Background:=False, _ Range:= 0 'wdPrintAllDocument -- Steve Arbaugh ACG Soft http://ourworld.compuserve.com/homepages/attac-cg "Ron" wrote in message ... From an Access module I can open a Word template and populate bookmarks from data in a recordset. This works nicely, but results in several open documents which have to be individually printed and closed.Is there a method to automate printing the documents in my module? I would like it to work similiar to opening an Access report as acnormal. Thanks, Ron |
Thread Tools | |
Display Modes | |
|
|