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]
|