auto indent and group VBA code
There are several compilers in other languages that allow the self-indentation of code and the grouping of code structures to make it more readable. Please, improving this part in VBA would be very interesting. Blessings!
Anthony Taylor commented
Mz Tool is a brilliant addition to Excel. It has an indent option plus much more.
Ben Sacheri commented
As a work around, consider trying Smart Indenter, a free add-in for the VBA editor. It doesn't indent as you type, but it's available on the right-click context menu. It's great when you've inherited someone else's code.
MS own dot.net editor can. copy that code :)