(without affecting the char level formatting in the cell)
I've already posted a similar question, but I unfortunately I realized I couldn't use any of the solutions because all of them removed all the formatting in the cells :(
I have a code that replaces various text strings. It looks like this (+ some more IFs):
Sub Fix()
Dim X As Long, Cell As Range
For Each Cell In Selection
For X = Len(Cell.Text) To 1 Step -1
If Cell.Characters(X, 3).Text = ", ," Then Cell.Characters(X, 3).Text = ","
If Cell.Characters(X, 3).Text = ", (" Then Cell.Characters(X, 3).Text = " ("
If Cell.Characters(X, 3).Text = ", [" Then Cell.Characters(X, 3).Text = " ["
If Cell.Characters(X, 3).Text = ", -" Then Cell.Characters(X, 3).Text = " -"
If Cell.Characters(1, 3).Text = "abc" Then Cell.Characters(1, 3).Text = ""
Next
Next
End Sub
The last line of my code deletes abc if this is contained at the beginning of the selected cell(s).
I am looking to find out how to delete abc when this is contained at the end of the selected cell(s).
But it's really important for me to preserve all the original formatting in the cells (text size, colors, bold/italic/underline letters etc).
Please bear in mind that I am a complete beginner and I don't know anything about programming. I've copied the code above from the internet and just changed the values.
Thank you in advance for your help.

