Does VBA contain a comment block syntax?

Although there isn’t a syntax, you can still get close by using the built-in block comment buttons:

If you’re not viewing the Edit toolbar already, right-click on the toolbar and enable the Edit toolbar:

Then, select a block of code and hit the “Comment Block” button; or if it’s already commented out, use the “Uncomment Block” button:

Fast and easy!

Leave a Comment