View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Alex[_6_] Alex[_6_] is offline
external usenet poster
 
Posts: 2
Default Macro to remove leading space

Of course there is also the LTrim(), RTrim(), and Trim()
functions that will wipe out all your leading or trailing
spaces, or both. Very handy when dealing with user forms.

Alex

-----Original Message-----
I am just now getting into writing macros so I think this

task may be
above me for now. Could some kind person give me a hint

on writing a
macro that would check for, and if it exists, remove a

single space
that is the first character in a cell from a selected set

of cells.

Many thanks in advance for your time
Andrew
.