S S P P Member Oct 2, 2021 #1 Good Morning! I need a userform that replaces code that is starting in F17 until the last found. TextBox1 code replace TextBox2 code to replace Replaces if TextBox1 has a 4-digit code. Attachments SPP Replacement with Userform.xlsm 14.7 KB · Views: 9
Good Morning! I need a userform that replaces code that is starting in F17 until the last found. TextBox1 code replace TextBox2 code to replace Replaces if TextBox1 has a 4-digit code.
Belleke Well-Known Member Oct 5, 2021 #2 Like this? Attachments SPP Replacement with Userform.xlsm 20.3 KB · Views: 8
S S P P Member Oct 5, 2021 #3 Belleke Good Morning! just as needed Thanks again for the contribution. I added >>> use code - tags <<< Code: If Len(TextBox1.Value) <> 4 Then MsgBox "Textbox must contain a 4-digit code.", vbInformation, "Digit code is not valid" TextBox1 = "" TextBox1.SetFocus Exit Sub End If Last edited by a moderator: Oct 5, 2021
Belleke Good Morning! just as needed Thanks again for the contribution. I added >>> use code - tags <<< Code: If Len(TextBox1.Value) <> 4 Then MsgBox "Textbox must contain a 4-digit code.", vbInformation, "Digit code is not valid" TextBox1 = "" TextBox1.SetFocus Exit Sub End If