Is there an equivalent way of achieving what HTML Tidy does to HTML code for VBA code? I just inherited a rats nest of Excel VBA, and I was hoping to just make it easier to read before diving in. I don’t mind if I have to export it first; I’m already using VBA Code Cleaner to make the thing work well with Git. Any suggestions?
Share
There is a utility that will (try) to clean up code: Smart Indenter v3.5
After testing, I can confirm it works in Office 2007 and Office 2010 – it appears in the context menu when you right click on code