Download vba eBook


Comment Blocks

If you need to comment or uncomment several lines at once, you can use the IDE's Edit Toolbar buttons:

Comment Block - Adds a single apostrophe to the start of all selected lines

Comment Block

Uncomment Block - Removes the first apostrophe from the start of all selected lines

Uncomment Block

Multi-line Comments Many other languages support multi-line block comments, but VBA only allows single-line comments.

Related Examples


106 Contributors: 8
Wednesday, August 17, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook