pass value

Submitted by maddyrafi on
Hai: How to pass a sheet1 (A1) excel value to vba userform1 textbox1.text i have a vba code like this : Private Sub CommandButton1_Click() TextBox3.text = Val(TextBox1.text) + Val(TextBox2.text) End sub i want to pass textbox3.text value to excel sheet c1 cel and TextBox1.text in a1 cel and TextBox2.text in b1 cel how is it ?