Lets say I have
VB Code:
  1. Type Step
  2.     x As Byte
  3.     y As Byte
  4.     up As Boolean
  5.     down As Boolean
  6.     left As Boolean
  7.     right As Boolean
  8. End Type
  9.  
  10. Dim a As String
  11. Dim cell22 As Step
  12. cell22.x = 1
  13. cell22.y = 5
  14. cell22.up = True
  15. cell22.down = False
  16. cell22.left = False
  17. cell22.right = True
  18.  
  19. 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?