I am trying to find out the difference between the system date and the date stored in the worksheet. If the difference between them is > 30 days, the result is true, else th
Try this:
if CDate(Worksheets("dates").Cells(1,1)) - sDate > 30 then