
Macro recorder not recording all steps
Why: Many word dialogs are not compliantly written and so thus don't
interact properly with VBA, whether showing them or recording them.
Usually there is a set of VBA commands that provide the functionality
directly.
In this case, maybe ActiveDocument.FollowHyperlink will suit your
needs.
this:
Quote:
>I am trying to create a macro that will add a new web page
>button to the tool bar, and then specify the URL that
>button should link to. To perform the second part of the
>process you need to right click on the new button on the
>toolbar to display the menu options to assign the
>hyperlink.
>The Macro recorder will record the steps to get the button
>on the toolbar, but does not record the steps required to
>specify the destination URL.
>Does anyone know why the recorder does not record all the
>steps in the process?
>Any help is greatly appreciated.
>k
Steve Hudson -- Word Heretic, Sydney, Australia
{*filter*} teacher, trainer, tutor, writer, developer
Word MVP FAQs: http://www.*-*-*.com/
You agree by writing to me personally that any material can be reused publicly unless you explicitly disclaim it. (For List and blog use.)