Re: Automated Merge from command-line
From: Peter Jamieson (pjj_at_KillmapSpjjnet.demon.co.uk)
Date: 07/30/04
- Next message: rswetz_at_hotmail.com: "Re: Word 2002 mail merge with XP station"
- Previous message: Peter Jamieson: "Re: Mail Merge Database Error"
- In reply to: Wes Dabney: "Automated Merge from command-line"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Jul 2004 12:11:51 +0100
There are a couple of ways you can consider trying to get Word to do a merge
automatically:
a. put AutoOpen macros with the necessary code in the Mail Merge Main
Documents
b. use the command line options that let you specify the name of a macro to
run
If it makes sense for your users, you /might/ also be able to add a command
to the Windows shell so that they see a "Merge" option for Word documents,
or it might even make sense to use your own file extension (say ".docm" )
and set up the file associations to make such files merge by default when
they are opened. However, I think you would have to use the DDE facilities
in the shell and things are already looking complicated...
-- Peter Jamieson "Wes Dabney" <wes@grtraylor.com> wrote in message news:OixhEtLdEHA.596@TK2MSFTNGP11.phx.gbl... > I'm using Office 2000 SP3 and linking queries from Access to Word. I have it > setup now so from a form, a user can open the linked template with the > filters from the form applied to the linked query. My question is this, is > there anyway to automate the merge option from the dos command line, eg > "winword.exe somefile.doc -merge newfile.doc". If anyone knows of a way to > do this, it would save me with my less-than-savy users. Thanks. > > -- > Wes Dabney > Information Technology > Gary R. Traylor and Associates > Phone: 903-581-0500 > Fax: 903-581-4245 > >
- Next message: rswetz_at_hotmail.com: "Re: Word 2002 mail merge with XP station"
- Previous message: Peter Jamieson: "Re: Mail Merge Database Error"
- In reply to: Wes Dabney: "Automated Merge from command-line"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|