PDA

View Full Version : Solved: Help with Textbox and label



whitewidow
02-08-2007, 07:17 PM
i have a minor issue that i cant figure out

i have two userforms. the first userform is for a user to enter there name and then to procced to the next form. in the second form i would like the second form to show the users name which was entered in the text box in the first userform.

the second userform should print the users name on a label

how can i do this.

lucas
02-08-2007, 07:32 PM
Here's a link to a recent thread that addresses your question:
http://vbaexpress.com/forum/showthread.php?t=10970

Hope that helps. If not post back here.

whitewidow
02-08-2007, 07:35 PM
i have already check that form out and did not find it so useful to me.

because when a user enters there name to the first userform then when i click on enter button then the users name should automatically appear in the label

lucas
02-08-2007, 09:51 PM
It's the same thing you just assign the textbox value to the label caption...see if the attached is what your after. It's the same file from the other post with a couple of lines changed in the userform2 initialize statement.

whitewidow
02-09-2007, 02:01 AM
Thanks alot lucas that was very helpful

lucas
02-09-2007, 09:12 AM
Glad to help. Be sure to mark your thread solved if you've gotten a solution.