RP1America
Technical User
Greetings!
I need to determine if the value of a userform textbox is equal to the letter "S".
The reasoning is in referance to showing possesion in regards to the textbox entry. In other words, the textbox is used for the last name of a person. Within the letter, I need to refer something to that person using their last name.
If their last name is Smith, that is easy...I can simply use ('s) to show possesion, which would equal Smith's. However, if their last name is Jones I would need the code to be able to determine that an "s" is the last character of the field entry and therefore only add (') to the end which would equal Jones'.
Any suggestions would be greatly appreciated!
Thanks!
I need to determine if the value of a userform textbox is equal to the letter "S".
The reasoning is in referance to showing possesion in regards to the textbox entry. In other words, the textbox is used for the last name of a person. Within the letter, I need to refer something to that person using their last name.
If their last name is Smith, that is easy...I can simply use ('s) to show possesion, which would equal Smith's. However, if their last name is Jones I would need the code to be able to determine that an "s" is the last character of the field entry and therefore only add (') to the end which would equal Jones'.
Any suggestions would be greatly appreciated!
Thanks!