If my date is "Sep-01-2015" it should return dd-mm-yyyy. Which can be done by cell formatting settings.
But what if my date I want to enter and print is the same "11-Jan-2021"? I want to type 11/01/2021 and format cell to 11-Jan-2021. I know I can use format cell option to convert date format or use custom format. But that is not my question.
When I'm typing the cell is re-arranging terms like 11/01/2021 as 01-Nov-21 where it should be 01-Jan-21.
Also, I want to keep regional setting in the code and not manual adjustments. If you find any VBA date format code to set the date in "en-US" or for any regional preferences please add your answer below.
Thanks!



