View Single Post
  #2   Report Post  
Posted to microsoft.public.word.newusers
Doug Robbins - Word MVP
 
Posts: n/a
Default Automating Document Title

You would need to run a macro that used the results of those formfields to
create the filename

Dim fname as String
With ActiveDocument
fname = .FormFields("CaseNumber").Result
fname = fname & " " & .FormFields("Lname").Result
.SaveAs fname
End With

You could have the macro run on exit from one of the formfields to automate
its use.

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

"Will" wrote in message
...
Hello, I have a data form template with about 20 text fields to be filled
in
by a user. There are two fields that combined would be perfect file names
for
each Word doc to be saved as.

For example:

Case Number: 431-678549
LName: Smith

Currently the user must retype in the file save dialog box "431-678549
Smith". I'd like to automate this process in the template. I have research
various options on the MVP.org site and a few others and while there are
some
ideas around this, I wasn't able to extract enough information to
implement
this plan yet.

Does anyone have an idea of thow to do this?