I am getting an error message Argument not optional at below line for the Days function: I need to calculate the date diff.
Worksheets("Dashboard").Range("R" & row).Formula = WorksheetFunction.Days(Worksheets("Dashboard").Range("P" & row, "Q" & row))