Need Help Formating and Align VBA Code

I have a huge worksheet event code. Is issue is its huger and not aligned properly.
Its appearing like this
     Main loop
Loop1

                         Loop1 end


Loop2
           Loop2End

               .Loop3
                          Loop3 End
.
.
..
Main loop end
-----------------------------------------------------------------

What I like the vba c ode to ...be aligned neat and clean like below...

Main Loop
      Loop1
      Loop1End


         Loop2
       Loop2 End
             .
      .


Main Loop end

Issue is I am not sure which loop / Condition bracket ends where – as it not aligned properly and there are zillion lines of code. Is it possible to use a editor or something that highlights or lets me know or indicates - where one loop / Condition bracket starts and finishes ?
 That way I can realign and organize the code to look better and manageable. Right now it’s a jungle of mess
RayneAsked:
Who is Participating?
 
Jared_SConnect With a Mentor Commented:
You'll have to use something like smart indent. You can download it here...

http://www.oaltd.co.uk/Excel/Default.htm
0
 
RayneAuthor Commented:
Thank you
0
 
RayneAuthor Commented:
Hello Jared_S,
This is Perfection to the THE Ultimate
Thank you for the turbo quick response :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.