Hi,
Can someone please tell me how to replace certain commas in a string with a semi-colon? I do not want to replace any of the other commas.
Example:
= MIN(MIN(R67595,R250000), R67574)+ SUM(R27215,R27218)
Should be:
= MIN(MIN(R67595,R250000), R67574)+ SUM(R27215:R27218)
The commas I want replaced will always be inside of parenthesis inside of the sum function.
A simple search and replace will not work.
Selection.Replace What:="5,r", Replacement:="0:r", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Can someone please tell me how to replace certain commas in a string with a semi-colon? I do not want to replace any of the other commas.
Example:
= MIN(MIN(R67595,R250000), R67574)+ SUM(R27215,R27218)
Should be:
= MIN(MIN(R67595,R250000), R67574)+ SUM(R27215:R27218)
The commas I want replaced will always be inside of parenthesis inside of the sum function.
A simple search and replace will not work.
Selection.Replace What:="5,r", Replacement:="0:r", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Last edited: