![]() |
RemoveLeadingSpace
There is a space before the first character of text, in each cell. How
can I remove the space? TIA |
RemoveLeadingSpace
Function:
=Trim(CellRef) e.g. =Trim(A1) Code: Sub Trim trim(Range.text) End Sub e.g Sub TrimText Trim (Range("A:A").Text) End Sub "gh" wrote in message ... There is a space before the first character of text, in each cell. How can I remove the space? TIA |
All times are GMT +1. The time now is 07:12 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com