SyntaxFix
Write A Post
Hire A Developer
Questions
Use the range's NumberFormat property to force the format of the range like this:
NumberFormat
Sheet1.Range("A2", "A50000").NumberFormat = "yyyy-mm-dd"