protected form hyperlink to mail??

M

mary anne

I have a protected form I'd like to insert a hyperlink that is the equivalent
of using the Menu commands: file > Send to > mail recipient (as attachment).
I'd like the subject of the email to pre-fill and the mail recipient would
always be the same person. I tried to follow the vba procedure for
hyperlinks, but that just worked for the internet, which couldn't find a site
called "mailto: (e-mail address removed)" Does anyone have any suggestions?
 
J

Jay Freedman

mary said:
I have a protected form I'd like to insert a hyperlink that is the
equivalent of using the Menu commands: file > Send to > mail
recipient (as attachment). I'd like the subject of the email to
pre-fill and the mail recipient would always be the same person. I
tried to follow the vba procedure for hyperlinks, but that just
worked for the internet, which couldn't find a site called "mailto:
(e-mail address removed)" Does anyone have any suggestions?

Create a macro like the one in
http://word.mvps.org/FAQs/InterDev/SendMail.htm.

Then create a toolbar button or a MacroButton field to run that macro -- see
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm for the
toolbar button, or
http://word.mvps.org/FAQs/TblsFldsFms/UsingMacroButton.htm for the
MacroButton field. Either of those will work in a protected form.
 
M

mary anne

I followed your advice, but I'm unsure what to write in the outside macro.
From the articles, it seems I need to nest the SendDocumentAsAttachment macro
inside of another macro that calls it. What function can I write for the
outside macro? Or is there something else I need to do? The first time I
tried without nesting and I lost the ability to protect/unprotect. The
double-click box just sent me to the beginning of the document.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top