Solved

Access 2003: MailMerge Automation (question 4) data source

Posted on 2012-04-09
2
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

738 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