![]() |
|
|
|
#1
|
|||
|
|||
|
Thanks again.
I read the link you gave me. But I'm still blocked :/ I did this : To create the MACROBUTTON field, select the text that is to be clicked and press Ctrl-F9 to enclose it in a pair of field braces, thus {Text_to_be_clicked}. Then fill in the rest of the field code, so you end up with {MACROBUTTON ShowHide Text_to_be_clicked}. Once you've done that, press F9 to update the field. I had "Afficher" and I did ctrl+f9 and put {MACROBUTTON ShowHide Afficher} and did f9. My macro is ShowHide and is : Sub ShowHide() With ActiveDocument.Shapes(1) .Visible = Not .Visible End With End Sub I would like to know how link this macro with a specific picture (because I want to do other similar macros for other pictures). And I want the picture to be hidden at the beginning. Thanks, Regards, |
|
|
|
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 |