I want to remove all the blanks from a selected string in Word, using the following:
Replace seems not to recognise the blanks, and returns a string with the blanks still there (i.e. K=H) which is not what is intended.
Any suggestion how I can fix this, please!
Thanks
B
Code:
H = Selection.Text K = Replace(H, " ", "")
Any suggestion how I can fix this, please!
Thanks
B
Comment