Re: How do I auto-name a file using form text box? by Doug
Doug
Tue Apr 01 12:49:36 PDT 2008
Create a macro that is run on exit from the "from" bookmarked field that
contains the code
With ActiveDocument
.SaveAs .Formfields("From").Result
End With
If you need to add the path, use
.SaveAs "Driveletter:\path\" & .Formfields("From").Result
--
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
"shan" <shan@discussions.microsoft.com> wrote in message
news:2D07EB8F-FC00-4F6F-9BED-252B2B9A1E47@microsoft.com...
>I have created a form using form text fields. I would like to have the file
> auto-save from the text field I have bookmarked as "from", upon exit from
> this field.
>
> Does anyone know what macro I would need to use to make this happen?
>
> Thanks