Check Box MacroButton in Outlook message

M

Mark Samborski

Outlook 2000
Word 2000

Hello,

I am trying to use a MacroButton in an Outlook message that will allow
the recipient to check or uncheck a Check Box. I am using Word 2000
as my e-mail editor and I am sending in rich text format.

I first tested the MacroButton in a separate Word 2000 file and it
worked fine. (I followed the instructions in
http://groups.google.ca/groups?hl=e...JreYPBwDHA.3428%40TK2MSFTNGP11.phx.gbl&rnum=1)

The MacroButton does not function when I add it to an Outlook message.
I get the following error when I click on a check box within the
message: Run-time error '5941': The requested member of the collection
does not exist. The debugger points to the MacroButton command to
check the box: ActiveDocument.AttachedTemplate.AutoTextEntries("Checked
Box").Insert Where:=Selection.Range

I assmued that all of my normal.dot settings would be valid with an
Outlook message that uses Word as its editor. If anyone has an
opinion why this macro doesn't work in Outlook, I'd appreciate your
ideas.

Thanks,
Mark
 
S

Sue Mosher [MVP-Outlook]

The normal.dot settings would work on your machine, but not on anyone
else's. I suspect that the message may not even have the templated attached
at all (you might take apart the statement that the error points to in order
to find out for sure). If so, that's probably a good thing, for security
reasons.

Basically, it's not possible get Outlook to run code from the recipient's
copy of an email message unless you are working in an Exchange organization
or have some control over the recipient's environment.
 

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