VB IDE Tips and Tricks - Champonnois/VBAToolKit GitHub Wiki
Block commenting and uncommenting
It is not uncommon for VBA programmers in their early times to do the commenting and uncommenting manually by adding and removing ' at the beginning of lines. This can be rather annoying when there are a lot of lines.
Actually, the VB IDE has a block commenting and uncommenting feature. It is just hidden a little bit.
- Go in View -> Toolbars -> Customize
- In "Categories", select "Edit".
- Scroll down a bit. You will see the "Comment Block" and "Uncomment Block" buttons.
- Drag and drop them among their fellow buttons on the toolbar.