Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I assign a Macro to a picture in Word
I want to assign a macro to a picture in a word documents.
Is this possible. If yes, how do I do that. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I assign a Macro to a picture in Word
Why not just save the picture as an AutoText entry?
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "OneSoul" wrote in message ... I want to assign a macro to a picture in a word documents. Is this possible. If yes, how do I do that. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I assign a Macro to a picture in Word
1. Insert the picture into your document. Format it as 'Inline with text'.
2. Select the picture and define it as an Autotext entry. 3. Delete the picture. 4. Insert a MacroButton field, with a nested reference to the AutoText entry -- { Macrobutton MacroName { AutoText PictureName } } where MacroName is the name of your macro and PictureName is the picture autotext entry. "OneSoul" wrote in message ... I want to assign a macro to a picture in a word documents. Is this possible. If yes, how do I do that. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do I assign a Macro to a picture in Word
To follow this a bit further:
Because AutoText must be stored in a template, not in a document, you would be able to send this to someone else only if the "document" you send is really a template, or if you send both the document and its template together. But there's nothing that says you have to use an AutoText entry in the MacroButton field. Instead of the nested { AutoText PictureName } field, you can just insert an inline picture as the "display text" of the MacroButton field. Now the document, with picture and macro (stored in the document itself) can be self-contained. Of course, if you send someone a document that contains a macro, you need to tell them to set the macro security level to Medium and click the Enable Macros button when opening the file. And they have to trust you not to send them a malicious macro. :-) -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 30 Oct 2006 16:05:56 +1100, "Jezebel" wrote: 1. Insert the picture into your document. Format it as 'Inline with text'. 2. Select the picture and define it as an Autotext entry. 3. Delete the picture. 4. Insert a MacroButton field, with a nested reference to the AutoText entry -- { Macrobutton MacroName { AutoText PictureName } } where MacroName is the name of your macro and PictureName is the picture autotext entry. "OneSoul" wrote in message ... I want to assign a macro to a picture in a word documents. Is this possible. If yes, how do I do that. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Why dont MS just f**king re-write Word from scratch? Its dogsh*t | Microsoft Word Help | |||
I am having difficulty with deleting headers and footers | New Users | |||
How do I create Word macro that will run properly using copy/past. | Microsoft Word Help | |||
glossary macro in Word? | Microsoft Word Help | |||
hard space between words. | Microsoft Word Help |