The template attached to my last past shows how you can extract them emplyee name from a formfield, for inclusing in both the document's filename and the email subject line. The same approach can be used with Content Controls, which is what you really should be using in an exclusively Office 2010 environment, or with ActiveX Controls.
PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|