Hi All!
I am using this replace code to reset some formulas in my workbook. The problem is it replaces "=" with "=" (by design, I want it this way) and thus it goes on forever till I stop it with ESC.
Is there a way to adapt it to go through all the sheets in the workbook once and be done?
Thanks!
Code
Sub FindReplaceAll()
'PURPOSE: Find & Replace text/values throughout entire workbook
Dim sht As Worksheet
Dim fnd As Variant
Dim rplc As Variant
fnd = "="
rplc = "="
For Each sht In ActiveWorkbook.Worksheets
sht.Cells.Replace what:=fnd, Replacement:=rplc, _
LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, _
SearchFormat:=False, ReplaceFormat:=False
Next sht
End Sub
Display More