Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

12
  • 1
    This works but I am looking for something i can put at the end and at the start of an already existing block of code rather than something on every line. Commented Jun 2, 2014 at 19:11
  • 1
    Doesn't exist the way you want it @Tim.DeVries. Commented Jun 2, 2014 at 19:11
  • 2
    @Tim.DeVries there is no such functionality in VBA. Your best alternative is to simply use the cursor to select multiple lines of code and press the button for "Comment Block" from the menu bar. There is no syntax that does this. Commented Jun 2, 2014 at 19:13
  • Curious why you'd un-accept my answer (two weeks later!) in favor of a nearly-identical answer that was posted ~2 hours after mine... I have no need for the karma here, I'm just trying to find out why this answer is not good for you now, when it was originally... Commented Jun 11, 2014 at 16:48
  • 1
    @DavidZemens That's just because you're missing beans.dll Commented Jan 19, 2017 at 15:31