Jonathan
Tue Jul 01 12:59:31 PDT 2008
"Marco/Hyperlink Function"
<MarcoHyperlinkFunction@discussions.microsoft.com> wrote in message
news:BC4ED2F1-4184-4425-B04A-805C3A59413F@microsoft.com...
> Thank you Jonathan!
>
> I read it, but I do not understand how to create this button. Could you
> please help me better understand?
> My understanding of it, is that I must make a macro command first, then
> some
> how use a code to make that macro into a macrobution.
Yes. Create your macro first.
If you're unsure how to do this, take a look at these articles which are
good starters for writing macros
Creating a macro with no programming experience using the recorder
http://www.word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm
Getting To Grips With VBA Basics In 15 Minutes
http://www.word.mvps.org/FAQs/MacrosVBA/VBABasicsIn15Mins.htm
What do I do with macros sent to me by other newsgroup readers to help me
out?
http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm
Once you have created your macro, insert a macrobutton field into the
document. Press Ctrl-F9 to create a pair of field braces { } and then type
between the braces to create a field looking like this
{ MACROBUTTON MacroName Text label for button }
where MacroName is the name of the macro you created, and the text following
is any text you want to be "clickable"
Then, with the cursor still within the field braces, press Shift-F9 to
change the view to "field result". Now, if you double-click on the
macrobutton field, the macro should run.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup