Block REMarks in VBA?

T

Toby Erkson

My guess is there isn't but I'll ask anyway...
Does VBA have block remarking? For example, in HTML:
<-- From here
to
here is remarked -->

Instead of having to put a ' in front of every line it'd be one of those 'nice
to have'.
 
B

Bernie Deitrick

Toby,

No, but if you use continuation characters, you only need one leading single
quote mark:

' this _
is _
a _
blocked _
comment

HTH,
Bernie
MS Excel MVP
 
T

Tom Ogilvy

No, but in the VBE, if you show the Edit toolbar, it has buttons for block
comment and block uncomment. (which it applies to the selected lines of
code).
 
P

Postman

| No, but in the VBE, if you show the Edit toolbar, it has buttons for block
| comment and block uncomment. (which it applies to the selected lines of
| code).

Tom

Those two little buttons should be on the toolbar by default!

p
 

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