It is require to change the date column in excel as system date format.
if the system date format will be mm/dd/yyyy
In excel sheet i need to change it as mm/dd/yyyy
How to change it through VBA Excel?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can change the date format of cell to the regional (Windows) settings this way:
*:*05/13/2011More information on this SO thread: What is the best way to say format is mm/dd/yyyy – but in the local format?
[EDIT] With VBA you can do
m/d/yyyyrepresents the regional settings as described above