The Edit toolbar in VBA
Provided by: FMS Development Team
The Edit toolbar provides shortcuts to commonly used menu
items. These items are frequently used when editing code. 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.
Beginning with Access 2000 (and higher), 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
|