• Editing the VBE with Code (Excel 2000 SR-1)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Editing the VBE with Code (Excel 2000 SR-1)

    Author
    Topic
    #401031

    Hello,

    I was going to try to write a procedure to insert comments into the code module where the cursor is, but I cannot figure out how to determine what line number is the “Active” line or even which procedure is the “Active Procedure”. Can any one help? If there is already a tool to do this, I would be happy to use it instead of writing my own procedure.

    Thanks,

    Viewing 3 reply threads
    Author
    Replies
    • #786782

      Chip Pearson has some code that works with modules and could probably be adapted. Though nothing specific. It should give you hints as to the objects and possible properties to use.

      I don’t think you will be able to know where the cursor is the VB, you will not be able to code like that “interactively”

      Steve

    • #786783

      Chip Pearson has some code that works with modules and could probably be adapted. Though nothing specific. It should give you hints as to the objects and possible properties to use.

      I don’t think you will be able to know where the cursor is the VB, you will not be able to code like that “interactively”

      Steve

    • #787116

      A terribly useful utility:

      http://www.mztools.com[/url%5D

    • #787117

      A terribly useful utility:

      http://www.mztools.com[/url%5D

    Viewing 3 reply threads
    Reply To: Editing the VBE with Code (Excel 2000 SR-1)

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

    Your information: