@RubberDuck This was mostly proof of concept. It definitely needs polishing. For one thing, probably no one writes Dim a,b,c,d As Integer with the intention of declaring a,b,c as Variants. It would make more sense to skip that part about DimAll and just expand all things that look like Dim a,b,c,d As Integer in the entire project. Ultimately, I would like to figure out how to turn it into a VBE add-in with keyboard shortcuts. I'll look at that link —
John Coleman 6 mins ago