Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am opening a csv file in excel with many columns in the US date
format (mm-dd-yyyy). I need these all to be in the UK format (dd-mm-yyyy). When I run text to columns on each column individually I can choose the column data format MDY and it will reformat the dates correctly. However when I recorded a macro to do this it doesn't work. Does anyone have any idea why this works when you do it manually but not via a macro. Columns("A:A").Select Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _ FieldInfo:=Array(1, 3) and repeated for each column Thanks, Andy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro problem in Excel | Excel Discussion (Misc queries) | |||
wrap text problem | Excel Discussion (Misc queries) | |||
Editing a simple macro | Excel Worksheet Functions | |||
Urgent Help Required on Excel Macro Problem | Excel Discussion (Misc queries) | |||
Text to columns will not shut off. | Excel Worksheet Functions |