#1
|
|||
|
|||
How to assign a macro to a picture in Word?
I want to learn how to assign a macro to a picture in Microsoft Word. I have searched the internet and have been pointed to using “Macro button filed” and pasting the picture the macro is to be assigned to it, as its “display text” (see here. The second answer).
But when I do this process, it fails to do the job for me. (When I right click on the field and choose “toggle fields codes and “{}” disappear and just the picture remains, I see nothing is assigned to the remaining picture . See the attached file in which I want to assign the “test” macro to the picture.). Can you guides me on this issue? |
#2
|
||||
|
||||
Insert an activeX button from the Developer tab. Call your macro from the button code and from the button's properties add the image - see attached
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
Thank you. Your answer solved my problem.
|
Tags |
assigning macro, picture |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to assign a checkbox to run a macro in Word? | KJenkins | Word VBA | 1 | 07-19-2021 03:36 PM |
Assign macro to word style | TechWriter | Word | 3 | 01-07-2020 05:01 PM |
How do you assign a macro to a button in Word? | smog32 | Word VBA | 2 | 06-25-2019 01:42 AM |
Word macro - remove shading from active para. and assign language to it, keep text cursor position | dejanm83 | Word VBA | 3 | 03-19-2017 02:36 PM |
Assign Macro to Shape in Word 2013 | tunes10590 | Word VBA | 8 | 01-29-2015 06:26 AM |