VBA Variables as Strings

J

JeremyJ

Is it possible to create a variable with the value being a String of a VBA
name?

Var1 = whatever

Var2 = "Var1"

I have data in my sheet with values identical to variable names in my code.
I thought this maybe one way I could reference or find those cells.
 
B

Bob Phillips

No, you can't, but perhaps you could create workbook names with that name
and store values in there.
 
Top