D
Don Wilkinson
I'm new to macros and the like, so please be gentle to me and explicit with
me.
I have a Word template that is a form my users will fill out. I am planning
to have them send the complete form to me in email.
This form contains a text field box with the bookmark name "EmpName".
When they click on the shortcut to my template, they of course get a new
Word doc based on the template, with the temporary document name "document#".
If they then use File --> Send To --> Email Recipient (As Attachment)
feature, the file attachment is named "document#".
I want a way to grab the data from the EmpName field and use that to
generate the filename given when the document is attached. For example "User
Setup - EmpName".
I understand I may need to have the user press a key or Save the document
first.
I imagine I will need a bit of info about the Properties of the Text field
so that it "calculates on exit" or whatever. But, I KNOW I'll need the
script bits to do the filename updating, etc.
I really hope you can help me, of course, but I'm also excited that I will
learn something too!
Thanks in advance,
Don
me.
I have a Word template that is a form my users will fill out. I am planning
to have them send the complete form to me in email.
This form contains a text field box with the bookmark name "EmpName".
When they click on the shortcut to my template, they of course get a new
Word doc based on the template, with the temporary document name "document#".
If they then use File --> Send To --> Email Recipient (As Attachment)
feature, the file attachment is named "document#".
I want a way to grab the data from the EmpName field and use that to
generate the filename given when the document is attached. For example "User
Setup - EmpName".
I understand I may need to have the user press a key or Save the document
first.
I imagine I will need a bit of info about the Properties of the Text field
so that it "calculates on exit" or whatever. But, I KNOW I'll need the
script bits to do the filename updating, etc.
I really hope you can help me, of course, but I'm also excited that I will
learn something too!
Thanks in advance,
Don