Hi Jay,
Interesting, yes, but from a user's perspective, it would probably be even
more efficient to code the macro triggered by the macrobutton field to
delete the calling field as part of the process.
Cheers

Signature
macropod
[MVP - Microsoft Word]
> It would be interesting to compare these two for speed in a large
> document with a few hundred fields.
[quoted text clipped - 59 lines]
> Microsoft Word MVP FAQ: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
Jay Freedman - 08 Dec 2006 01:15 GMT
In point of fact, if the "Typing replaces selection" option is turned
on, the field is deleted automatically, because clicking the
macrobutton to activate it also selects it. Since the OP said his
fields were {MacroButton InsertPicture}, the inserted picture will
replace the field, if that option is set. (But if the InsertPicture
command is being intercepted by a macro of the same name, it could be
doing almost anything.)
--
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.
>Hi Jay,
>
[quoted text clipped - 70 lines]
>> Email cannot be acknowledged; please post all follow-ups to the newsgroup
>so all may benefit.