Add the Edit Toolbar to Your VBA and VB6 Module Editor (IDE)
Provided by: FMS Development Team
The Edit toolbar provides shortcuts to commonly used menu items. These items are frequently used when editing code:
VBA/VB6 Edit Toolbar
Only two of the shortcuts on the toolbar are not available as menu item selections. Those two are: Comment Block and Uncomment Block:
By default, the Edit toolbar is not available when you open the module section. To have the Edit toolbar available, select View -> Toolbars -> Edit from the menu, or right click on the menu bar:
Menu Bar Options to Select Edit
Using the Comment Block and Uncomment Block Buttons
With Access 2000 and later, the Comment Block and Uncomment Block provides a much needed relief to commenting multiple
lines of code.
By highlighting continuous lines of code, and selecting the appropriate shortcut button, your code will be commented or uncommented. To
comment or uncomment a single line of code, place your cursor anywhere on the line and select the appropriate shortcut button.
Return to the tips page