79163481

Date: 2024-11-06 16:44:10
Score: 0.5
Natty:
Report link

Your GetFormula function expects a range.

Function GetFormula(Target As Range) As String
    GetFormula = Target.Formula
End Function

But when you call it, you pass an address/a string:

c.Formula = Eval(GetFormula(c.Adress))

So, change this line to:

c.Formula = Eval(GetFormula(c))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abdallah El-Yaddak