Edit Proper Indent

Top  Previous  Next

This option will reformat the current module with the proper indention.

Each structure will have an increased level of indention so the code is better readable.

 

Let's say your code looks like this :

 

For A = 1 To 10

Print "This is A " ; A

For B1 = 1 To 10

Print "This is B1 " ; B1

Next                                                      ' note that you do not have to specify the parameter

Next A

 

There is no indention used. All lines start at the same position.

After the reformat option is used, the code will look like this:

 

For A = 1 To 10

Print "This is A " ; A

For B1 = 1 To 10

  Print "This is B1 " ; B1

Next                                                      ' note that you do not have to specify the parameter

Next A

 

Now each structure will be indented. You can now see which Next belongs to the For.