Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Nov 2001
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Modify Macro Description (Word 2000)

    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.

  2. #2
    4 Star Lounger
    Join Date
    Dec 2000
    Location
    Quakertown, PA, Pennsylvania, USA
    Posts
    517
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Modify Macro Description (Word 2000)

    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.

  3. #3
    2 Star Lounger
    Join Date
    Dec 2000
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Modify Macro Description (Word 2000)

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •