I'd do something like this
Option Explicit
Sub Replacer2()
Dim rCell As Range, strChar As String
Dim rConstantText As Range
strChar = ","
'only get the cells in col D that have constants and text in them
Set rConstantText = Nothing
On Error Resume Next
Set rConstantText = Worksheets("Sheet2").Columns(4).SpecialCells(xlCellTypeConstants, xlTextValues)
On Error GoTo 0
'if there aren't any then get out
If rConstantText Is Nothing Then Exit Sub
Application.ScreenUpdating = False
'for each of the cells
'this removes a comma from the front and/or end
For Each rCell In rConstantText.Cells
With rCell
Application.StatusBar = "Checking " & .Address
If Left(.Value, 1) = strChar Then .Value = Mid(.Value, 2, Len(.Value) - 1)
If Right(.Value, 1) = strChar Then .Value = Left(.Value, Len(.Value) - 1)
End With
Next rCell
Application.ScreenUpdating = False
Application.StatusBar = False
End Sub