I kind of hoped I could write formatting "rules" into an editor, so that it would auto-matically format code in a way that was not just tabbing.

I tried to find out if I could do this in the VB editor. But I couldn't work out how.