This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I realize this is an old thread, but I need help here as well.
The solution you provided will output the date as a String, meaning Excel will not see it as a valid date (so no sorting, filtering, or formulas).
Is there a way to format the actual Excel cell to a specific date format? Specifically, I am looking to keep the cell as a Date type, but when opening in Excel, it should display them as MM/dd/yy. Right now, Excel drops the leading 0 in months 01-09.