I have a worksheet of cells which have existing formulas - depending on the formula, return a 'result' or an 'error'
I would like a VB formula so I can perform a one-off solution by inserting
=IFERROR(ExistingFormula),"")
..into each selected cell formula 'the blue text'.
-------------------
For example, I have VB code to insert an absolute reference into pre-selected cells:
Sub LockCells()
'
'LockCells Macro
'
Dim c As Range
For Each c In Selection
c.Formula = Application.ConvertFormula(c.Formula, xlA1, , xlAbsolute)
Next
End Sub
I would like a VB formula so I can perform a one-off solution by inserting
=IFERROR(ExistingFormula),"")
..into each selected cell formula 'the blue text'.
-------------------
For example, I have VB code to insert an absolute reference into pre-selected cells:
Sub LockCells()
'
'LockCells Macro
'
Dim c As Range
For Each c In Selection
c.Formula = Application.ConvertFormula(c.Formula, xlA1, , xlAbsolute)
Next
End Sub