Jan 19 2024 01:00 AM
How write vba code for three textboxes on form.
Textbox1 get data from worksheet for display on form.
Textbox2 get data from worksheet for display on form
Textbox3 put data on to worksheet.
I have a label on the form disregard. I can not delete label from my phone
Thanks You.
Jan 19 2024 04:26 AM
Set the ControlSource property of the text boxes to the cell you want them to be linked to.
If you set the Enabled property of TextBox1 and TextBox2 to False, the text boxes will be for display only.
Leave Enabled set to True for TextBox3. The user will be able to change the value of the linked cell by editing this text box.
Jan 19 2024 11:57 AM - edited Jan 19 2024 11:58 AM
textbox1 how write vba code for form get data from worksheet show on textbox1. textbox2 how write vba code for form get data from worksheet show on textbox2. textbox3 how write vba code for form put data into worksheet.
How to write vba code to make form to work.
Thanks You
Jan 19 2024 12:03 PM
I showed you how to do that in my previous reply!
Jan 19 2024 05:44 PM
I try get these codes not working for me one my friend found them
'FORM WORKSHEET TO SHOW ON THE FORM
TextBox1.Value = Worksheets("Sheet1").[A4].Value
TextBox2.Value = Worksheets("Sheet1").[B4].Value
PUT DATA INTO WORKSHEET
Worksheets("Sheet1").[C4].Value=TextBox3.Value
Thanks You
Jan 20 2024 04:17 AM
SolutionSee the attached version.
Jan 20 2024 04:17 AM
Solution