Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to determine format?
In a CSV file, the dates can be formatted in General or Date format. I need
to be able to determine what the date format is. It also appears that sort treats General and Date formats differently. Why is that? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to determine format?
A cell format general will return general as the number format
If Range("B1").NumberFormat = "General" Then z = 1 Else z = 2 End If "Nils Titley" wrote: In a CSV file, the dates can be formatted in General or Date format. I need to be able to determine what the date format is. It also appears that sort treats General and Date formats differently. Why is that? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Determine day of week in text format | Excel Discussion (Misc queries) | |||
Using date format in the cells how determine percent complete | Excel Worksheet Functions | |||
Text box to determine internal format color | Excel Programming | |||
Determine format type from strings | Excel Programming | |||
Determine number format of excel cell | Excel Programming |