Grouping/Collapsing lines in VBA editor - xl2000

G

Guest

Is it possible in the VBA editor to group and/or collapse nested code? Example:
For x=1 to Len(empname)
currchar=Mid$(empname,x,1)
If currchar=" " Then
do something
Else
do something else
End If
Next x

Collapse the if-endif code leaving only the following visible:

For x=1 to Len(empname)
currchar=Mid$(empname,x,1)

Next x

I've used this in HTML editors and it's wonderful.
 

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