Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Access 2003: MailMerge Automation (question 4) data source

Posted on 2012-04-09
2
Medium Priority
?
249 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 2000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

610 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