G
Guest
I am trying set the value of a textbox based on the value of another textbox
using the value 1 to get 10 as an example below but how do set it up is you
have several values?Is this code repeated each time for the additional values
like 2,3,4,5 to get 11,12,13,14? Is repeating the code the only way to do
this?
Private Sub Textbox1_AfterUpdate()
If Textbox1.Value = "1" Then
Textbox2.Value = "10"
End If
End Sub
using the value 1 to get 10 as an example below but how do set it up is you
have several values?Is this code repeated each time for the additional values
like 2,3,4,5 to get 11,12,13,14? Is repeating the code the only way to do
this?
Private Sub Textbox1_AfterUpdate()
If Textbox1.Value = "1" Then
Textbox2.Value = "10"
End If
End Sub