Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Access 2003: MailMerge Automation (question 4) data source

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

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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

572 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