Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I find and replace all the entries of a perticular string in excel using VBA?

0
Posted

How do I find and replace all the entries of a perticular string in excel using VBA?

0

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).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123