Do you know what is wrong with the following
I'm getting Applicatio-defined or object-defined error
Thanks
Code:
Sub CellFormula()
Dim FormulaNo As Integer
Dim i As Integer
FormulaNo = 10
i = 10
Cells(i, 13).Formula = "=" & (Cells(i, FormulaNo)) & "/" & (Cells(i, 12))
End Sub
I'm getting Applicatio-defined or object-defined error
Thanks