Tidy VBA code indentation
Having your code follow generally accepted indentation rules makes it much more readable and easier to debug. If you happen to have code that is not formatted well, this simple feature of the Code Explorer will help you out.
In the screencast below you see how running Tidy Indentation fixes a number of indentation anomalies:
- Dim objUser not outlines, same with some other variables
- End If not outlines with original If Not ammProcesses..., making it difficult to see what scope the block has
- For Each block unclear - difficult to see where it ends.