Oorang
Well-known Member
- Joined
- Mar 4, 2005
- Messages
- 2,071
Is there a way in VBA to indirectly reference a variable? Like an Eval type method? here is an example of what I was hoping for... but I wanted it to work with objects as well:
Code:
Dim T1 as String
Dim T2 as String
Dim T3 as String
Dim X as Byte
For X = 1 to 3
MsgBox Eval("T"&X)
Next X