Access Code

  • Thread starter Thread starter Joel Allen
  • Start date Start date
J

Joel Allen

Hi,

I have a whole sub that I want to rem out. Is there a way to start and end
a rem like this instead of remming every line:

'Start Rem here

code
code
code
code
code

End Rem here'

more code
more code
more code
more code

Thanks,
Joel
 
Hi Joel,

Rem is an old term from the early days of Visual Basic. You didn't say which
version of Access that you are using; if you are using Access 2000 or later,
you can add two buttons to your toolbar to comment out all selected code or
uncomment all selected code. Here's how:

http://www.access.qbuilt.com/html/ToolbarBtns

I think these buttons may be shown by default in Access 2003. They were on
my PC at work, after we were just recently upgraded to 2003.


Tom

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

:

Hi,

I have a whole sub that I want to rem out. Is there a way to start and end
a rem like this instead of remming every line:

'Start Rem here

code
code
code
code
code

End Rem here'

more code
more code
more code
more code

Thanks,
Joel
 

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