Macro recorder not recording all steps 
Author Message
 Macro recorder not recording all steps

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



Sat, 30 Apr 2005 07:39:22 GMT  
 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.)


Fri, 13 May 2005 01:24:54 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Word 2002 macro recorder doesn't record Font characteristics during Search/Replace

2. Macro Recorder stops recording in File Send To

3. Macro Recorder Not Matching Keyboard Entry

4. Undo and Redo List, one step, not many steps, VBA

5. Macro recorder...interested?

6. Macro Recorder?

7. Macro recorder

8. macro recorder

9. Macro Recorder

10. Macro Recorder

11. WordXP Macro Recorder Broken

12. Creating a Macro Recorder in VB

 

 
Powered by phpBB® Forum Software