I'm not sure why this doesn't work:
The range in question is cells that contain dates only.
MinDate and MaxDate only return 00:00:00
Code:
Sub min_max_date()
Dim MinDate As Date, MaxDate As Date
MinDate = Application.WorksheetFunction.Min(Range(Trades.Cells(5, 2), Trades.Cells(LastRow, 2)))
MaxDate = Application.WorksheetFunction.Max(Range(Trades.Cells(5, 2), Trades.Cells(LastRow, 2)))
End Sub
The range in question is cells that contain dates only.
MinDate and MaxDate only return 00:00:00