Go into VB help and look up the VB function CallByName.

That's what you seem to want.