Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - AutomatingWordFromAccess.mdb (advanced)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please consider donating $1 per sample downloaded, (find out why here)

AutomatingWordFromAccess.mdb (advanced)

 Post Reply Post Reply
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP

Joined: 20 Feb 2008
Status: Offline
Points: 246
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: AutomatingWordFromAccess.mdb (advanced)
    Posted: 04 Aug 2008 at 3:45am
Please consider donating $1 per sample downloaded, find out why here.


This sample demonstrates how to create a Microsoft Word document from information stored in a database and charts stored in an Excel spreadsheet. This process required a completed Excel spreadsheet (see my sample "ExportToExcelCharts2k.mdb") and a Word template. Both the template and the spreadsheet must be in the same directory as this app. The resulting Document "MyDocument.doc" will be saved to this directory as well. The code for this process is in the basCreateDocument module in a subroutine called ExcelWordAutomation. Follow the comments in the code for a description of how it works. 

Access 2000 DAO (90 KB):

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down