Hi everybody,
I know it can sound trivial, but I cant solve this problem:
I'm using in an excel macro:
Code:
Range(RangeFrom).Copy
Range(RangeTo).PasteSpecial Paste:=xlPasteValues, _
Operation:=xlNone, SkipBlanks:=False, Transpose:=False
The fact is that I would like to trim blank spaces that are present in
RangeFrom.
So if I have to copy cells A1 (value: " A ") and A2 (value " B ") in the corrisponding cells B1 and B2, I would like to have "A" in B1 and "B" in B2.
How can I get this done?
Thanks in advance.
Father Xmas