With TRIM function it is possible to erase only double spaces but I need to
erase all spaces in a text cell.
Do I have to use VBA funaction?
Tnx in advance.
With TRIM function it is possible to erase only double spaces but I need to
erase all spaces in a text cell.
Do I have to use VBA funaction?
Tnx in advance.
use the edit replace command and replace a single space with nothing at
all.
You can use a combination of CLEAN and SUBSTITUTE, something like:
=CLEAN(SUBSTITUTE(A1," ",CHAR(13)))
Hope this helps,
Miguel.
"D" wrote:
> With TRIM function it is possible to erase only double spaces but I need to
> erase all spaces in a text cell.
> Do I have to use VBA funaction?
> Tnx in advance.
>
>
>
It helped.
Tnx
"Miguel Zapico" <[email protected]> wrote in message
news:[email protected]...
> You can use a combination of CLEAN and SUBSTITUTE, something like:
> =CLEAN(SUBSTITUTE(A1," ",CHAR(13)))
>
> Hope this helps,
> Miguel.
>
> "D" wrote:
>
>> With TRIM function it is possible to erase only double spaces but I need
>> to
>> erase all spaces in a text cell.
>> Do I have to use VBA funaction?
>> Tnx in advance.
>>
>>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks