I know that the TRIM function as worksheet function and as VBA function returns different results:
- the worksheet function removes all spaces from a text string except for single spaces between words
- while the VBA function only removes leading and trailing spaces.
There is a way to emulate the VBA behavior with worksheet functions, WITHOUT a custom VBA function?