Hi,
Have a problem using replace in a macro. I have no education at all in VB, everything i do is "self taught". This means that I rather include recorded code when possible, since I'm not a very competent code writer myself.
The problem is that the recorded code doesn't work...
(I'm trying to remove the comas in spreadsheet with figures - note that it works fine to replace the coma with nothing with ctrl+H)
All help appriciated greatly...
// Patrik
Have a problem using replace in a macro. I have no education at all in VB, everything i do is "self taught". This means that I rather include recorded code when possible, since I'm not a very competent code writer myself.
The problem is that the recorded code doesn't work...
Code:
Cells.Replace What:=",", Replacement:="", LookAt:=xlPart, SearchOrder:= _
xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
(I'm trying to remove the comas in spreadsheet with figures - note that it works fine to replace the coma with nothing with ctrl+H)
All help appriciated greatly...
// Patrik