• Modify Macro Description (Word 2000)

    Author
    Topic
    #362750

    Is there a way to modify the Description for a macro that has been created using VBA code (i.e., it had not been previously recorded)?

    Thank you.

    Viewing 0 reply threads
    Author
    Replies
    • #551564

      Just hit Alt-F11 to get to the VB editor. Click in the upper left of the screen to bring your code into view.

      Below the code name (i.e., Sub MyMacro()), type some text (or delete it). Comments show in green text and have an apostrophe at the beginning of the line. As long as you have an apostrophe, you can add a comment/change/delete, etc.

      • #551917

        I believe what deseree is talking about is the Description for a macro, found when you go to Tools | Macro | Macros, not comments in VBA.

        The answer would then be, go to Tools | Macro | Macros, then select the macro name for which you would like to change the description, and simply type in a different description in the box.

        I would definitely keep people out of the VBA unless absolutely necessary.

    Viewing 0 reply threads
    Reply To: Modify Macro Description (Word 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: