(Solved) – Assign variable names in a loop (dynamically)


I have this
enter image description here

I want A, B and C assigned dynamically, maybe in a loop (Note:They are declared)

Dim A as String
Dim B as String
Dim C as String

for i=1 to lastRow
   ' here it goes through each variable ans assigns them
next i

Leave a Reply

Your email address will not be published. Required fields are marked *