I have a column with numbers formatted as general
| 2.500,00 |
| 70,2 |
| ... |
I have a macro that tries to delete the dot in the column.
When I do it manually the result is
| 2500,00 |
| 70,2 |
| ... |
When I do it with the following line:
Selection.Replace What:=".", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
it removes the comma in the cells where there is no dot, the result looks like this:
| 2500,00 |
| 702 |
| ... |