Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2015, 12:32 PM
jmo jmo is offline Mail Merge from Access DB Windows 7 32bit Mail Merge from Access DB Office 2010 32bit
Novice
Mail Merge from Access DB
 
Join Date: Dec 2015
Posts: 7
jmo is on a distinguished road
Default Mail Merge from Access DB

I have an access database with one large table and a number of queries. We merge using DDE.



Currently we process specific documents by opening a mail merge, navigating to the fiscal year, then selecting the database (which corresponds to this fiscal year), selecting the appropriate query, and then the correct item from that query.

I'm creating a simplified visual basic user form with buttons to automate some other processes and I thought it might be useful to speed up the mail merge such that:
1) Select Fiscal Year from user form.
2) Hit 'go' and it automatically opens the data-base and displays the available queries. The user would then select the query and the item as usual.

So I'm trying to set the database source with:
ActiveDocument.MailMerge.OpenDataSource Name:=DBLoc, SubType:=wdMergeSubTypeWord2000, LinkToSource:=False, ReadOnly:=True

The 'DBLoc' string shows the correct path in the debugger but the error I'm getting is:

'Word was unable to open the data source.'

So I can't get any further with my experimentation. Why won't it open?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge from Access DB Mail Merge - Many to One w/MS Access data mklepper Word 1 03-07-2015 08:30 AM
Mail merge from Access to Word Matthew7 Mail Merge 1 02-18-2015 11:05 PM
Mail Merge from Access DB Mail Merge from Access Query to Word ChrisMan Mail Merge 2 12-10-2012 11:22 PM
Mail Merge from Access DB Combine Records when Mail Merge from Access Tom Pickles Misc 2 08-24-2010 06:00 PM
Word / Access - Mail Merge ibuilders Mail Merge 0 07-30-2007 06:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft