Solved

Access 2003: MailMerge Automation (question 4) data source

Posted on 2012-04-09
2
244 Views
Last Modified: 2012-04-10
Hi EE,

don't know how this happened, but Word opens the template asking me to confirm
its data source

i think this happens after i ran the merge using vba

questions:

a) is the data now "built into" the document,
B)    if yes, i would not want to post a document with live data to EE,
   so how could i remove the data source from the word doc

       what i did for now was copy and paste the doc to a new doc without running
               the merge on the new doc, so as to upload the new doc to EE for a question


tx for your help, sandra
0
Comment
Question by:mytfein
2 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 37825701
That is normal operation when opening a mail merge main document. If you want to to have the datasource remembered, you will need to patch the registry to prevent the question - it's for security - from disrupting the automation:

http://support.microsoft.com?kbid=825765

If you don't need to remember the datasource between sessions, you turn the document back into an ordinary document, either from the mail merge toolbar, or with VBA:

 wordDoc.MailMerge.MainDocumentType = wdNotAMergeDocument
0
 

Author Comment

by:mytfein
ID: 37827952
Hi Graham,

tx so much.... very helpful....
 s
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question