Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Salve, ho una colonna in cui metto delle date via codice, vorrei formattarla
e per questo uso: CType(workSheet.Columns(3), Excel.Range).NumberFormat = "dd/mm/yyyy" (codice VB.NET) Quel codice genera la seguante eccezione: --------------------- Impossibile utilizzare il formato numerico digitato. Utilizzare uno dei formati numerici incorporati. [ ... ] ------------------------- funziona bene se uso "gg/mm/aaaa" invece di "dd/mm/yyyy". Non mi sembra il caso di usare "gg/mm/aaaa", visto che il codice dovrebbe funzionare sempre, anche se ho sistema operativo ed Excel in inglese.... Come potre fare? Ciao e grazie a tutti Franx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
.numberformat Q | Excel Worksheet Functions | |||
numberformat? | Excel Discussion (Misc queries) | |||
NumberFormat? | Excel Worksheet Functions | |||
NumberFormat | Excel Programming | |||
Cell Date/Time and NumberFormat issue | Excel Programming |