Chr1551
Thu Jul 03 08:48:03 PDT 2008
Thank you both for your help. I'm using Word 2003 and have a table in my
document, I was hoping that I could use one of the cells in the table to name
the file eg. the Quote Reference cell.
"Graham Mayor" wrote:
> You can intercept the FileSave (and SaveAs) command using a macro *in the
> particular document template* eg
>
> Sub FileSave()
> On Error Resume Next
> ChangeFileOpenDirectory "D:\My Documents\Faxes\"
> ActiveDocument.Save
> End Sub
>
> You can also name the file from a field's content. Tell us more about the
> Word version and the nature of the field you wish to use.
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site
http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> Chr1551 wrote:
> > Hello All,
> >
> > I've been having a look around for an answer to my question and have
> > tried to piece together some VBA code for similar things but I'm a
> > bit of an amateur and can't get anything to work! So... I'm looking
> > for some help!
> >
> > What I want to do is basically create quotes and faxes from two
> > separate templates in Microsoft Word 2003 and then save them to a
> > Quotes or a Faxes folder. Can this be determined automatically
> > depending on the template being used? And can I set the filename
> > automatically to be a fied from my document?
> >
> > Is this possible? Any help would be much appreciated!
> >
> > Many Thanks
>
>
>