Removing Spaces
Hi Jim,
This looks like an interesting approach to my problem as I will need to do
this fairly regularly.
However, I have never used macros before and don not know where to place
your script? Or, indeed to use a macro!?
I've had a quick look and can't see where it should go?
Presumably I can save this 'macro' so I can just run it at a later date?
Many thanks
Gary
"Jim May" wrote:
Here's another approach (VBA has a function LTrim (Left Trim))
Before running Macro Highlight All your songs, say they are listed
in the range B5:B105 - and then Run Macro. Songs without a
starting space character will not be effected.
Sub ElimSpace()
For Each c In Selection
Fixedname = LTrim(c.Value)
c.Value = Fixedname
Next c
End Sub
"Gary" wrote:
Hello,
I have an Excel Spreadsheet that has a column that lists 100s of song titles
but the first charactor in each cell in this column is a space.
Is there a way of removing these spaces automatically?
Many thanks
Gary
|