Ok, I've had a good rumage and can't find what I need and hope someone out there can help me.
I'm trying to create a macro in Excel to find and replace special characters such as a comma. I'm using the code below which works fine until it gets to a cell that is 1655 characters long. The formula just stops working. Can anyone suggest alternative code???? Ideally, I would like to change this to loop around a selection??
cells.Replace What:=",", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False
I'm trying to create a macro in Excel to find and replace special characters such as a comma. I'm using the code below which works fine until it gets to a cell that is 1655 characters long. The formula just stops working. Can anyone suggest alternative code???? Ideally, I would like to change this to loop around a selection??
cells.Replace What:=",", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False