For the love of everything that is good in this world, please, don't do this.
Use meaningful names, and if you need 50 values of
SomeMeaningfulName
, then use an array, like
SomeMeaningfulName(0 To 49) As Integer
. Don't call it
Var
, give it a name that tells whoever is maintaining that code (future you?) what these values are used for. If they're completely unrelated, then make a
Type
and give each one a meaningful name. And then thank yourself later (e.g.
was the column width of Sheet4!$A:$F stored in var23 or var47 again?) —
Mat's Mug 4 mins ago