macro assignment

I 've got a problem with macro assignments in vb6.
I 'd like to write the varible name to text1.box and assign the value of the same variable to text2.text , next to it on the form.
This way, I could debug the change of variables at the run time. But how ? Any help is appreciated.