Searching for text within formula
hi,
not because they're all cells named , but otherwise you can write
With Sheets("Sheet1")
x = .Range("First_Cell").Formula
y = Application.Substitute(x, .Range("Current_Function"), .Range("Selected_Function"))
.Range("First_Cell").Formula = y
End With
--
isabelle
Le 2011-07-23 19:18, kittronald a écrit :
It works, but for brevity, do I really need to write
"Sheets("Sheet1").Range("NAME") for each argument ?
|