I HAVE MADE A FORM WHICH WILL BE DISTRIBUTED TO OTHER PEOPLE. IS IT POSSIBLE
TO ADD A COMMAND TO A FORM THAT WILL SAVE THE FORM BASED UPON THE INFORMATION
ENTERED INTO THE FORM.
If we are talking about formfields as used in a protected document, you can
use the .Result property of a formfield to retrieve information that is
entered into the formfield and a macro run on exit from a field could use
the ActiveDocument.SaveAs command to save the document with information
retrieved in that way.
See
Please Fill Out This Form
Part 1: Create professional looking forms in Word
http://www.computorcompanion.com/LPMArticle.asp?ID=22
Part 2: Adding Automation to your Word forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=46
Part 3: Learn more VBA (macros) to automate your forms.
http://www.computorcompanion.com/LPMArticle.asp?ID=119
Part 4: Use custom dialog boxes in your Word forms
http://www.computorcompanion.com/LPMArticle.asp?ID=127
Part 5: Connect your AutoForm to a database to save input time and keep
better records!
http://www.computorcompanion.com/LPMArticle.asp?ID=136

Signature
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
>I HAVE MADE A FORM WHICH WILL BE DISTRIBUTED TO OTHER PEOPLE. IS IT
>POSSIBLE
> TO ADD A COMMAND TO A FORM THAT WILL SAVE THE FORM BASED UPON THE
> INFORMATION
> ENTERED INTO THE FORM.
GASHD1889 - 26 Aug 2005 11:39 GMT
Thanks doug,
But it is not really what i am looking for.
I have created a form which a user completes. One of the fields is an
individuals name.
At the end of the form I want a command button that when pressed will save
the file to a particular path name and name it based on the information
entered in the individuals name.
I am sure this can be done with VBA, but my knowledge of this is small
Thanks
> If we are talking about formfields as used in a protected document, you can
> use the .Result property of a formfield to retrieve information that is
[quoted text clipped - 25 lines]
> > INFORMATION
> > ENTERED INTO THE FORM.
Doug Robbins - 26 Aug 2005 18:57 GMT
Just what type of form is it? A userform (custom dialog) or a protected
document that uses formfields?

Signature
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
> Thanks doug,
>
[quoted text clipped - 41 lines]
>> > INFORMATION
>> > ENTERED INTO THE FORM.
GASHD1889 - 26 Aug 2005 23:46 GMT
Protected document that uses formfields. I have written an
ActiveDocument.SaveAs command but do not know how to look up the form field.
How does the .result property work?
> Just what type of form is it? A userform (custom dialog) or a protected
> document that uses formfields?
[quoted text clipped - 44 lines]
> >> > INFORMATION
> >> > ENTERED INTO THE FORM.
Jay Freedman - 27 Aug 2005 01:13 GMT
Open the Properties dialog of the formfield that gets filled with the
individual's name. The "Bookmark" box in that dialog contains the name
of the field, by default "Text1" or some other number. You can change
this to a more descriptive name, or use it as is.
In your code, the content of the "Text1" field is accessed by
MyString = ActiveDocument.FormFields("Text1").Result
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
>Protected document that uses formfields. I have written an
>ActiveDocument.SaveAs command but do not know how to look up the form field.
[quoted text clipped - 48 lines]
>> >> > INFORMATION
>> >> > ENTERED INTO THE FORM.
GASHD1889 - 31 Aug 2005 16:38 GMT
Jay,
Thanks exactly what I wanted
> Open the Properties dialog of the formfield that gets filled with the
> individual's name. The "Bookmark" box in that dialog contains the name
[quoted text clipped - 62 lines]
> >> >> > INFORMATION
> >> >> > ENTERED INTO THE FORM.