I have not been having any luck trying to get the below code working. It always returns 0 if not defined as a date or 12:00:00 AM if defined as a date. Is it because I don't have contiguous data?
Dim Max_date As Date
Max_date = Application.Worksheets(Sheet2).WorksheetFunction.Max(Range("a:a"))
Debug.Print Max_date
Result: 12:00:00 AM
column a.png
Bookmarks