I have a list of cells like
asdfc,
asdfs,
asdfwe,
sdfsf,
I have added a Module like so
Public Sub RemoveEndComma()
Dim rCell As Range
For Each rCell In Selection
rCell.Value = Left(rCell.Value, (Len(rCell.Value) - 1))
Next rCell
End Sub
but get an error about an invalid procedure call or argument. Being a newbie to this is it that I am referring to a range of values and not the cell value itself that is causing the error?
asdfc,
asdfs,
asdfwe,
sdfsf,
I have added a Module like so
Public Sub RemoveEndComma()
Dim rCell As Range
For Each rCell In Selection
rCell.Value = Left(rCell.Value, (Len(rCell.Value) - 1))
Next rCell
End Sub
but get an error about an invalid procedure call or argument. Being a newbie to this is it that I am referring to a range of values and not the cell value itself that is causing the error?