Looking for vba Answers? Try Ask4KnowledgeBase
Looking for vba Keywords? Try Ask4Keywords

VBAComments


Remarks

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.