Indent Lines |
Top Previous Next |
VB6 VBA The Indent Lines feature allows you to indent lines of code to increase the readability. The feature uses the Tab Width that you have established in the Options window of VB/VBA, Editor tab. You can customize other settings in the Team Options window, Line Indenting section. Furthermore, you can review which methods are not correctly indented with the Line Indenting Review of the Review Quality feature. For example, the following code is not indented:
Private Sub Foo()
Dim i As Integer
End Sub After indenting it (with Tab Width = 4), it would become as follows:
Private Sub Foo()
Dim i As Integer
For i = 1 to 3
End Sub
MZ-Tools offers the following ways to indent lines:
When you invoke this feature:
See Also: |