Excel VBA: Block Comment

Tea Rate: ☕

In VBA to apply block comment to multiple lines;

Go to View > Toolbar > Customize

Choose the command tab;

Select “Edit” from the “Categories” on the left;

Then at the commands (right handside) you need to drag and drop the “comment” and “uncomment” functions to your toolbar

From now on you will be able to comment and uncomment multiple lines by selecting lines and clicking these buttons.