Hi Guys,
This is my first topic , so please be gentle
I need to remove a blank first line from a cell, attached two cells photo.
Something with replace "chr(13)" or "chr(10)".
Thanks
Hi Guys,
This is my first topic , so please be gentle
I need to remove a blank first line from a cell, attached two cells photo.
Something with replace "chr(13)" or "chr(10)".
Thanks
Last edited by Barmoley; 11-12-2008 at 10:35 AM.
possibly...
=Substitute(A1,Char(10),"",1) to replace first occurance of Char(10)
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Hi NBVC ,
I changed it to:
MyCell = Replace(MyCell, Chr(10), "", 1, 1) and only first chr(10) was removed.
Thanks a lot!
Last edited by Barmoley; 11-12-2008 at 09:01 AM.
To replace all occurances:
=Substitute(A1,Char(10),"")
Yes , it solved. It deletes only first "chr(10)" and that's what I need.
Ok, great...
Can you please mark your thread solved...
Click your original post and click Go Advanced.
Select [Solved] from the left dropdown menu and click Submit.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks