![]() |
|
#6
|
||||
|
||||
|
See attached. Double-clicking anywhere in 'Nunc viverra imperdiet enim' in the 2nd para toggles the image.
The code is written to toggle the first image in the document. If you want multiple images, controlled by multiple MACROBUTTON fields, you'll need a different Sub name for each (e.g. ShowHide1, ShowHide2, etc), referenced in the corresponding MACROBUTTON field, with the macro code referencing the applicable image # (e.g. Shapes(1), Shapes(2), etc.) Note that the image #s are determined according to their anchor positions in the document, not their placement on the page.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
1.image in a table 2.right click 3.menu click format 4.a format column appears
|
OldFatDog | Drawing and Graphics | 1 | 06-13-2014 11:19 PM |
| Word 2013 Page Display | ebbieday | Word | 1 | 04-08-2014 09:24 AM |
| Need: User to click image and leave red dots or circles | nursenerd | Word VBA | 6 | 03-16-2014 02:41 PM |
| Call for votes: office 2013 Autocorrect & right click (context menu) | franklekens | Word | 0 | 09-20-2013 12:09 AM |
| Display the properties of an embedded image | tmazzotta | PowerPoint | 0 | 02-18-2011 05:41 PM |