Hi expets,
I can find an Id_number and get other fields via Vlookup in Textbox1,
The VBA code in Search Button is :
Me.TextBox2.Value = Application.VLookup(Val(Me.TextBox1.Value), Sheets("source1").Range("database"), 4, 0)
Me.TextBox3.Value = Application.VLookup(Val(Me.TextBox1.Value), Sheets("source1").Range("database"), 5, 0)
Me.TextBox4.Value = Application.VLookup(Val(Me.TextBox1.Value), Sheets("source1").Range("database"), 6, 0)
How can I replace whatever user interred in texbox2-4 in thier cells in Save button?
Thanks
I can find an Id_number and get other fields via Vlookup in Textbox1,
The VBA code in Search Button is :
Me.TextBox2.Value = Application.VLookup(Val(Me.TextBox1.Value), Sheets("source1").Range("database"), 4, 0)
Me.TextBox3.Value = Application.VLookup(Val(Me.TextBox1.Value), Sheets("source1").Range("database"), 5, 0)
Me.TextBox4.Value = Application.VLookup(Val(Me.TextBox1.Value), Sheets("source1").Range("database"), 6, 0)
How can I replace whatever user interred in texbox2-4 in thier cells in Save button?
Thanks