[VBA] Equivalent function to "Starts with"
Bully
-
Anonymous user -
Anonymous user -
Hello everyone!
So, I have a variable that can contain different types of values such as "TPV C4S", "TPV C5C", "Software Press", "Library Software".
And I would like to translate this into VBA:
IF variable 'Starts with' "TPV" THEN
Display Variable = "TPV"
ELSE IF .....
But I don't know how to translate "starts with." I searched online but couldn't find the necessary information.
A big thank you to those who can help me and have a great day!
So, I have a variable that can contain different types of values such as "TPV C4S", "TPV C5C", "Software Press", "Library Software".
And I would like to translate this into VBA:
IF variable 'Starts with' "TPV" THEN
Display Variable = "TPV"
ELSE IF .....
But I don't know how to translate "starts with." I searched online but couldn't find the necessary information.
A big thank you to those who can help me and have a great day!