Assign macro to a clip art picture

A

Annie1904

Ihave created a macro in a word document which I would like users to activate
by clicking on aclip-art picture I have inserted. I know there is an option
of 'assign macro' in Excel, but can only see 'hyperlink' in Word, and I don't
know how to hyperlink to a macro. No instructions in Word help. Can anyone
tell me how?
 
S

Suzanne S. Barnhill

You can use your picture as the "prompt" for a MacroButton field (which will
require a double-click). The purpose of a MacroButton field is to run the
designated macro.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
J

Jay Freedman

Annie1904 said:
Ihave created a macro in a word document which I would like users to
activate by clicking on aclip-art picture I have inserted. I know
there is an option of 'assign macro' in Excel, but can only see
'hyperlink' in Word, and I don't know how to hyperlink to a macro.
No instructions in Word help. Can anyone tell me how?

Insert a MacroButton field as described in
http://www.word.mvps.org/FAQs/TblsFldsFms/UsingMacroButton.htm. Use the clip
art in place of the display text inside the field code -- that is, replace
the [Double-click here to run macro] part with the picture.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
A

Annie1904

OK Thanks - got that working. But I have a further complication now! I have
created the document as a form. When I 'lock' the form, the macro does not
work! How do I put all of that in a form field?
 

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