Any idea why this code isn't converting all dates in the ranges to MM/DD/YY? It does change some of the dates, but not all. The ones that aren't being changed show values like 07/17/2023 in the formula bar. If I double click in a cell that wasn't converted, the date magically converts.
VBA Code:
'Format columns as MM/DD/YY.
mD.Range("G2:G" & mDLR).NumberFormat = "MM/DD/YY"
mD.Range("K2:K" & mDLR).NumberFormat = "MM/DD/YY"
mD.Range("M2:M" & mDLR).NumberFormat = "MM/DD/YY"