Re: Automated Merge from command-line

From: Peter Jamieson (pjj_at_KillmapSpjjnet.demon.co.uk)
Date: 07/30/04


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
>
>


Relevant Pages

  • Re: Automated Merge from command-line
    ... put AutoOpen macros with the necessary code in the Mail Merge Main ... > and set up the file associations to make such files merge by default when ... >> setup now so from a form, a user can open the linked template with the ... you can automate with AutoIt ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Visual SourceSafe considered harmful
    ... But in the meantime, I'll avoid the command ... > For example, when I automate a build script, it... ... > - pulls in all changed files ... have paid my dues on the build and DLL Hell too with the COM+ Test Server ...
    (comp.programming)
  • Re: Automatize copy in Sharepoint
    ... the COPY command to copy files to and from the ... From Windows Explorer, click File -> Map Network Drive. ... ".cmd" to the Link that creates of the directory of the server but does ... Somebody knows alternatives to automate a publication? ...
    (microsoft.public.sharepoint.portalserver)
  • How to move lines of TIFF image (prefer. by command line)?
    ... It's the first time i post here and hope I choose the right place. ... have a specific need and want to automate it. ... I think that via command ... The output is a grayscale TIFF, ...
    (comp.graphics.misc)
  • Re: Visual SourceSafe considered harmful
    ... Duane Arnold wrote: ... But in the meantime, I'll avoid the command ... For example, when I automate a build script, it... ... - pulls in all changed files ...
    (comp.programming)