Reputation: 103
I am getting compile error : Sub or Function not defined in vba when trying to use Today() function at below line :
Worksheets("Dashboard").Range("S" & row).Formula = WorksheetFunction.Days(Worksheets("Dashboard").Range("Q" & row), TODAY())
Upvotes: 0
Views: 876