A
aprilheeler
I have a macro on a Word form (a document that's created from a
template, not a UserForm) that opens Outlook and addresses an email to
a particular person when you click a "notify" button. I'd like to
specify the value of a text field on the form as the subject of the
email. For example, if the text field says "JOE SMITH" I want the
email subject to be "JOE SMITH".
How do I specify that in the ".Subject = " line of code?
Also, the form, when the document is saved, inserts a footer that
specifies the location of the file and its name; is it possible to
specify that file path in the ".Body = " line?
template, not a UserForm) that opens Outlook and addresses an email to
a particular person when you click a "notify" button. I'd like to
specify the value of a text field on the form as the subject of the
email. For example, if the text field says "JOE SMITH" I want the
email subject to be "JOE SMITH".
How do I specify that in the ".Subject = " line of code?
Also, the form, when the document is saved, inserts a footer that
specifies the location of the file and its name; is it possible to
specify that file path in the ".Body = " line?