VBE-Neutralizing a set of lines from eunning

  • Thread starter Thread starter avi
  • Start date Start date
A

avi

Hello,

How do i neutralize a group of successive lines from running , besides
putting a quote (') before each line?

Thanks
Avi
 
Kind of weird request, but I suppose you can put something like x=1 and then
have before the code to stop if x=1 then (your code). then you just change x
to 0 when you want to stop it.
 
Hi Avi,
If you have the edit toolbar turned on, select the lines with the mouse and
click the "Comment Block" button.
 
You could use conditional compilation. E.g.,

#If FALSE Then
< code not to run >
#End If
 

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