AccessBlog.net

News, links, downloads, tips and tricks on Microsoft Access and related

About Me Search
Alex
Name:Alex Dybenko

Location:Moscow, Russia

Thursday, January 22, 2009

Comment and uncomment block in VBA

Is there an easy way to comment out blocks of code, without having to do it line by line? Yes, there are such buttons, but they are not on the toolbar by default. Right-click on VBA toolbar, click Customize, in Commands tab select Edit category and in Commands listbox find Command block and Uncomment block commands. Drag both to your toolbar - and here you are!

image

Labels: ,

7 Comments:

Blogger Unknown said...

Handy little tip. Thanks.

4:40 PM  
Blogger Unknown said...

Nice! Got it for my needs!

4:36 PM  
Blogger Patrick Honorez said...

No no no ! Not necessary !
This button is already on the Edit toolbar, where you can also find the very usefull bookmarks buttons.

1:31 AM  
Anonymous Anonymous said...

Cool story as for me. It would be great to read a bit more about this matter. The only thing this blog misses is some pics of some devices.
John Watcerson
Phone jammer

3:36 PM  
Anonymous Anonymous said...

Just what I was looking for. Many thanks!

9:49 PM  
Blogger Rici said...

Thank you!!!

6:30 PM  
Anonymous Jaime said...

Thank you!!

Very useful, I thought there were no way to do that!

12:40 PM  

Post a Comment

<< Home