When you write code in VBA, the only acceptable date format is US format. MSFT is a US company, and they got to choose.
VBA form interpret the data in the excel worksheet wrongly.
Azim Azrul
41
Reputation points
What is the solution for date format in the excel VBA form? Im still new with the excel VBA. When I key in the date in the VBA form using this format [dd/mm/yyyy], it will interpret automatically as [mm/dd/yyyy] in the worksheet. My computer system settings for the date format is in [dd/mm/yyyy] and the excel date format is [dd/mm/yyyy] (I tried to put it as General and custom, both didnt work). Is there any solution for this? The VBA coding might help I guess.
Thanks in advance for the help guys!
Developer technologies | Visual Basic for Applications
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
Answer accepted by question author
-
Tom van Stiphout 40,081 Reputation points MVP Volunteer Moderator
2021-07-20T03:20:00.21+00:00