Hi All,
I have a cell with a date and time in and I need VBA to extract just the date and then pass this to a variable. I assume a Date variable type is the best one but how do I truncate the cell so it's just the date? I've tried the obvious thing of using:
Application.WorksheetFunction.Date()
But it seems this function can't be access via VBA? Does anyone have any suggestions?
Thanks![]()
Bookmarks