How do I find and replace all the entries of a perticular string in excel using VBA?
To find and replace all entries of a string, use this (substitute “ASD” and “asd111″ with your strings)….. Cells.Replace What:=”ASD”, Replacement:=”asd111″, LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False To just find a string, use this (substitute “ASD” with your string)….. Cells.Find(What:=”ASD”, After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _ xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False).