I have dates in my excel file in the following format MM/DD/YYYY
I am going through worksheet using for each loop and getting value by cell.Value
I'd like to check whether currently processed cell is in the above format and if so, change it to YYYY-MM-DD ( database format )
Can I do this in VBA ?
Thanks in advance,
=ISNUMBER(A2). A2 contains a real date if the formula returnsTrueelse it is a date string.