Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This code..from Access..
objXLSheet.Columns("I:I").NumberFormat = "Short Date" ...or.. objXLSheet.Columns("I:I").NumberFormat = "mm/dd/yy" ...opens in Excel as the date's number, IE 39462 Ideas please? TIA - Bob |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "Short Date" not a valid NumberFormat in Excel. However, It is valid when used with the Format function. The "mm/dd/yy" NumberFormat is legitimate, but maybe it is being overridden by the code that places the data in the column. You might try altering when the numberformat is added to the column. -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware (Excel Add-ins / Excel Programming) "Bob Barnes" wrote in message This code..from Access.. objXLSheet.Columns("I:I").NumberFormat = "Short Date" ...or.. objXLSheet.Columns("I:I").NumberFormat = "mm/dd/yy" ...opens in Excel as the date's number, IE 39462 Ideas please? TIA - Bob |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel spradsheet automation help | New Users to Excel | |||
Running Access-to-Excel Automation.... | Excel Discussion (Misc queries) | |||
automation from access into excel | Excel Discussion (Misc queries) | |||
how do i password protect an .xls file? how do i unlock it for automation. e.g. want to unlock and access a .xls from another .xls macro. | Excel Worksheet Functions | |||
Automation Testing in an Excel application. | Excel Discussion (Misc queries) |