Tuesday, June 17, 2014

How to comment and uncomment blocks of code in the Office VBA Editor

Good to know.


One way to quickly comment and uncomment blocks of code is to add the Comment Block and Uncomment Block buttons to your toolbar.

Go to: View -> Toolbars -> Customize

Next, go to the Commands tab and then the Edit category:

Select the Comment Block and drag to the toolbar:

Do the same for the Uncomment Block.

No comments:

Post a Comment