Lets say I have
VB Code:
Type Step x As Byte y As Byte up As Boolean down As Boolean left As Boolean right As Boolean End Type Dim a As String Dim cell22 As Step cell22.x = 1 cell22.y = 5 cell22.up = True cell22.down = False cell22.left = False cell22.right = True a = "cell22"
how can I msgbox the variable whoose name is in a?
in JavaScript it would be: eval(a).x, but I know VB doesn't have eval(), so What can I do?
