woodchuckwood
Registered User.
- Local time
- Today, 19:01
- Joined
- Jan 15, 2004
- Messages
- 10
I use this cmd to generate my reports:
On Error Resume Next
Dim db As DAO.Database, doc As Document, con As Container
Set db = CurrentDb()
Set con = db.Containers("Reports")
For Each doc In con.Documents
DoCmd.OutputTo acOutputReport, doc.Name, "RichTextFormat(*.rtf)", "C:\test\" & doc.Name & ".doc", False, ""
Debug.Print doc.Name
Next
The one thing i need to do is to combine all of the rtf files into one Word document when the cmd is executed. Is this all possible through Access or do i have to start writing macros in Word?
On Error Resume Next
Dim db As DAO.Database, doc As Document, con As Container
Set db = CurrentDb()
Set con = db.Containers("Reports")
For Each doc In con.Documents
DoCmd.OutputTo acOutputReport, doc.Name, "RichTextFormat(*.rtf)", "C:\test\" & doc.Name & ".doc", False, ""
Debug.Print doc.Name
Next
The one thing i need to do is to combine all of the rtf files into one Word document when the cmd is executed. Is this all possible through Access or do i have to start writing macros in Word?