Hello,
Could anyone please advise, how to eliminate spaces from a string using a VBA code?
Example:
a 022 .a22 Convert into: a022.a22.
Note, the string can be of variable length.
Thanks
Hello,
Could anyone please advise, how to eliminate spaces from a string using a VBA code?
Example:
a 022 .a22 Convert into: a022.a22.
Note, the string can be of variable length.
Thanks
Hi plans, any specific reason why you want to use RegEx for this?
No, any other solution would be great.
Thanks.
First an example how to do it with Regex,
otherwise, try,Please Login or Register to view this content.
Please Login or Register to view this content.
Or just a formula:
=SUBSTITUTE(SUBSTITUTE(A1, CHAR(160), ""), " ", "")
Entia non sunt multiplicanda sine necessitate
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks