I have written the following code and its not working:
textbox 1: txtVin ~ This is where the values are written
textbox 2: txtUnitDescription ~ This is where the "right" code will be placing the last 4 of the vin number.
Dim vin As String
vin = Right(txtVin, 4)
txtUnitDescription = vin
I have placed this in a macro and within the code of the form itself - neither are working.
How do I write the actual "Right" function on excel vba correctly?