Commenting Code

poet1234

Registered User.
Local time
Today, 14:35
Joined
Oct 7, 2004
Messages
46
Is there a way to comment out large chunks of code without having to comment each individual line? Thanks!
 
Access 2003 has the "Comment Block" & "Comment Unblock" options on the Edit toolbar from within a module. Select your code and click the appropriate button...if you have Access 2003.

Access 2000 or 2002 might have it but I can not confirm or deny it but I know Access 97 does not have those options.
 
This should work with all versions.

#If False Then

Junk goes here.

#End If


Hope that helps.

Regards,
Chris.
 
There is a toolbar for edit.... (Perfect for what you want) cause you can un-comment large groups also - I think this has always been avaiable?
 

Attachments

  • EditToolbar.jpg
    EditToolbar.jpg
    97.2 KB · Views: 143
Last edited:

Users who are viewing this thread

Back
Top Bottom