Can I comment out a whole section of code with one or two clicks???

  • Thread starter Thread starter M Skabialka
  • Start date Start date
M

M Skabialka

Is there a way to select a section of code and mark it as comments while
testing the rest of the code, then returning it to active code. I mean
without going line by line and adding the apostrophe, but doing it all at
once. I thought I saw this once before but have forgotten the method.

Thanks,
Mich
 
You can if you add the free tools from:
mztools.com

Great little utility with lots of useful features, such as adding your own
definable error-handler to a routine with a click.
 
Is there a way to select a section of code and mark it as comments while
testing the rest of the code, then returning it to active code. I mean
without going line by line and adding the apostrophe, but doing it all at
once. I thought I saw this once before but have forgotten the method.

Thanks,
Mich

What version?
Not sure about Access 2000 but Access 2002 has Comment Block and
Uncomment Block tool buttons. Add them to the VBA tool bar (they're in
the Edit commands when you Customize the toolbar).
 
Just what I needed. I had it on another machine and could not recall where
to find it.

Thanks,
Mich
 

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

Back
Top