KhaledMostafaME/RPA-Visual-Basic-Scripts-VBS

Excel to CSV: Date format changes

Closed this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
have date in an excel
convert to excel using vbs
date format changes

Expected behavior
data should remain consistent

Screenshots
Untitled

Desktop (please complete the following information):

  • OS: Windows server 2016
  • Office: Microsoft office professional plus 2016

Additional context
if done manually, data remains consistent

Figured out the solution:

Local
[Object](https://learn.microsoft.com/ru-ru/dotnet/api/system.object)
Value true- save files with Excel language settings (including Control Panel settings). Value false(default) - Save files with VBA language settings.

Further Resources