Creating block comments in VBA module

D

Duane Hookom

I would not write code without the free utility from
http://www.mztools.com/. This wonderful tool allows you to comment out or in
a section of code. You can also easily add error handling, headers,...
 
D

Dave

I can create a comment in a VBA module by prefixing an apostrophie at the
beginning of a line.

But I have a large block of code that I want to temporarily comment out.

Is there something similar in Access to SQL Server's CTRL SHIFT C/R that
will allow me to comment and uncomment large blocks of code at a time?
 
S

Steve Schapel

Dave,

If the 'Edit' toolbar is not visible, select it from the View|Toolbars
menu. There are buttons on this toolbar for commenting/uncommenting
blocks of code.
 
D

Dave

Thanks guys


Steve Schapel said:
Dave,

If the 'Edit' toolbar is not visible, select it from the View|Toolbars
menu. There are buttons on this toolbar for commenting/uncommenting
blocks of code.
 
R

Randy Harris

Duane Hookom said:
I would not write code without the free utility from
http://www.mztools.com/. This wonderful tool allows you to comment out or in
a section of code. You can also easily add error handling, headers,...

Wow! You weren't exaggerating. A marvelous tool. Why didn't you tell us
"uninformed" about this a long time ago? ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top