Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Date format/value different when opening manually compare to VBA macro
Hi,
for some reason when I run my macro today the dates in my file appear as 08/07/2012 when I open via the following VBA statement: sub tmp dim wbBalance as workbook dim sBalancename as string sBalanceName = "C:\temp\Balance.csv" Set wbBalance = Workbooks.Open(sBalanceName) end sub However, if I open manually in Excel the dates appear as 07/08/2012. How can I solve this problem? regards Colm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Incorrect date format when opening txt or csv files via macro | Excel Programming | |||
Compare dates (one cell not in date format) | Excel Discussion (Misc queries) | |||
switched date format opening dbf file | Excel Programming | |||
Date format when opening a .CSV file programmatically | Excel Programming | |||
Opening Add-in files manually | Excel Programming |