Hello,
I posted this question a few days ago, but I used the wrong version information. The solutions I received all worked beautifuly in Word 2000, but when I tried them in Word 97, they blew up. So, here we go again.
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,