Hello!
Could someone pleasehelp me..
I would like to create a userform that pastes a value (that the user types into the textbox in the userform) in a specified cell in a specified sheet.
Is that possible?
Thank you,
Cashmire
Hi
Assuming you have a command button (CommandButton1) and a Text box (TextBox1) this will put whatever is in the text box into cell B2 of the second sheet of your book when you click the button
Code:
Private Sub CommandButton1_Click()
Worksheets(2).Range("B2") = Me.TextBox1.Value
End Sub
;-)
If a man says something and there are no women there to hear him, is he still wrong?
The faqs ma'am, just the faqs. Get the best from these forums : faq222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.