ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Detecting date format (https://www.excelbanter.com/excel-programming/368482-detecting-date-format.html)

Francis Ang[_3_]

Detecting date format
 
A good day to all!

I was wondering whether is there a way to detect what is the date format
setting using VBA i.e. was the date set as ddmmyy or mmddyy?

Any help is very much appreciated.

Thank you.

NickHK

Detecting date format
 
Francis,
Range("A1").NumberFormat

NickHK

"Francis Ang" wrote in message
...
A good day to all!

I was wondering whether is there a way to detect what is the date format
setting using VBA i.e. was the date set as ddmmyy or mmddyy?

Any help is very much appreciated.

Thank you.





All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com