Thread: [Solved] Find & Replace in Formulas?
View Single Post
 
Old 11-04-2015, 05:23 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,366
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Having found the cell, simply use the Replace method to revise the formula. For example:
Code:
Dim Rng As Range
With ActiveSheet
  Set Rng = .Find ...
  Rng.Formula = Replace(Rng.Formula, "FindString", "ReplaceString")
End With
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote