Hello,
I am looking for a function that will strip out extra spaces in group of words. I am collecting name and address information with a userform and I want to make sure that, if the user types extra spaces between the names, the name is displayed correctly on the final document.
Example1: If the user types “Joe_____Blow” it should appear as “Joe Blow”
Example 2: user types “Mr._____and Mrs. Larry_____Tate___III” should appear as “Mr. and Mrs. Larry Tate III”
Note: The underscore marks represent blank spaces.
If anyone has a function or some code that can accomplish this, it will be greatly appreciated.
Thanks,
Mark