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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top