userform txt box updates spreadsheet

  • Thread starter Thread starter dok112
  • Start date Start date
D

dok112

Ok...I have a template spreadsheet that is attached to a userform that
created. When I type in TextBox1, I want it to put that data into cel
C4. What is the correct code
 
Private Sub Textbox1_AfterUpdate()
ActiveSheet.Range("C4").Value = _
Textbox1.Value
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top