jeffy said:
I have created a Doc Template in Word, and I would like to extract
data from Form fields and create a filename.
A Macro example I have found do not seem to work, OR I am having
difficulty modifying it successfully to extract the data from my form
fields. Is there something I am issing?
There's really no way for us to tell whether you're missing something unless
you post the relevant code for us to look at. Also explain exactly what does
happen vs. what you expect to happen. Do you get the wrong filename, or no
filename, or do you get an error? If there's an error message, quote the
message exactly, and tell us which line of code is highlighted in the editor
when that happens.
Before you go to that trouble, double-check that the field names you use in
the code exactly match the spelling of the "bookmark names" in the
Properties dialogs of the fields in the form.
If you can remember, also tell us where you got the macro example so we can
look at that.
Finally, this topic would be more appropriate in one of the programming
newsgroups such as microsoft.public.word.vba.beginners.