bamaisgreat
Well-known Member
- Joined
- Jan 23, 2012
- Messages
- 831
- Office Version
- 365
- Platform
- Windows
Thanks for taking a look at my post.
I have a userform with a command button having the following code.
Im unsure what code to add to have it work on the active sheet. Thanks again
I have a userform with a command button having the following code.
Im unsure what code to add to have it work on the active sheet. Thanks again
Code:
Private Sub CommandButton1_Click()
Range("F1") = TextBox1.Text
Range("H1") = TextBox2.Text
Range("N1") = TextBox3.Text
Range("M2") = TextBox4.Text
Range("AA1") = TextBox5.Text
Range("AA2") = TextBox6.Text
Range("AC2") = TextBox7.Text
End Sub