Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Making a Word mailmerge template merge when it opens.
I have a lot of mailmerge templates which merge to data in a small tab
delimited text file on the local drive. When these documents open, I seem to have to click a button to make them merge with the data in the file. Is there some simple code I can add to the documents that will make them merge automatically without the button press? dixie |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Making a Word mailmerge template merge when it opens.
By that, I mean that when I open the document, I want it to look like it
does when you click the ABC View merged data button and the fields are filled with the merged data. Surely there is some simple code that can be put into the document to make the merge happen automatically? dixie "Dixie" wrote in message ... I have a lot of mailmerge templates which merge to data in a small tab delimited text file on the local drive. When these documents open, I seem to have to click a button to make them merge with the data in the file. Is there some simple code I can add to the documents that will make them merge automatically without the button press? dixie |
#3
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Making a Word mailmerge template merge when it opens.
Using the following code in an autonew macro in the template will cause the
merge to be executed to a new document With ActiveDocument.MailMerge .Destination = wdSendToNewDocument .Execute End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Dixie" wrote in message ... By that, I mean that when I open the document, I want it to look like it does when you click the ABC View merged data button and the fields are filled with the merged data. Surely there is some simple code that can be put into the document to make the merge happen automatically? dixie "Dixie" wrote in message ... I have a lot of mailmerge templates which merge to data in a small tab delimited text file on the local drive. When these documents open, I seem to have to click a button to make them merge with the data in the file. Is there some simple code I can add to the documents that will make them merge automatically without the button press? dixie |
#4
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Making a Word mailmerge template merge when it opens.
I'm not used to programming Word. How do I create an autonew macro and when
does it run? dixie "Doug Robbins - Word MVP" wrote in message ... Using the following code in an autonew macro in the template will cause the merge to be executed to a new document With ActiveDocument.MailMerge .Destination = wdSendToNewDocument .Execute End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Dixie" wrote in message ... By that, I mean that when I open the document, I want it to look like it does when you click the ABC View merged data button and the fields are filled with the merged data. Surely there is some simple code that can be put into the document to make the merge happen automatically? dixie "Dixie" wrote in message ... I have a lot of mailmerge templates which merge to data in a small tab delimited text file on the local drive. When these documents open, I seem to have to click a button to make them merge with the data in the file. Is there some simple code I can add to the documents that will make them merge automatically without the button press? dixie |
#5
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
Making a Word mailmerge template merge when it opens.
You call the macro Autonew and save it *IN THE DOCUMENT TEMPLATE* not
normal.dot http://www.gmayor.com/installing_macro.htm It runs when you create a new document. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Dixie wrote: I'm not used to programming Word. How do I create an autonew macro and when does it run? dixie "Doug Robbins - Word MVP" wrote in message ... Using the following code in an autonew macro in the template will cause the merge to be executed to a new document With ActiveDocument.MailMerge .Destination = wdSendToNewDocument .Execute End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Dixie" wrote in message ... By that, I mean that when I open the document, I want it to look like it does when you click the ABC View merged data button and the fields are filled with the merged data. Surely there is some simple code that can be put into the document to make the merge happen automatically? dixie "Dixie" wrote in message ... I have a lot of mailmerge templates which merge to data in a small tab delimited text file on the local drive. When these documents open, I seem to have to click a button to make them merge with the data in the file. Is there some simple code I can add to the documents that will make them merge automatically without the button press? dixie |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word should catalog misspelled words to study. | Microsoft Word Help | |||
Detach or change SQL data source for Word template, and other Qs | Mailmerge | |||
I am having difficulty with deleting headers and footers | New Users | |||
How Come? | Mailmerge | |||
CPU Usage When working with a Template I Created | Microsoft Word Help |