Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You Legend!
Because the importer sheet (the sheet getting the data) only needs Column B, C & D to have the format changed from something like 03.04.2007 - I just used the following code: (Because the sheet is so huge and it's running on a network I'm trying to stay away from using loops, ifs etc.) (Also, The B469:D471 above is variable with the changeRange and putRange addresses which is the actual code below...) Set matchRange = IMPORTED_DATA.Range(changeRange.Offset(0, 1).Address & ":" & putRange.Offset(0, 1).Address) matchRange.TextToColumns Destination:=matchRange, DataType:=xlDelimited, FieldInfo:=Array(1, 4) Set matchRange = matchRange.Offset(0, 1) matchRange.TextToColumns Destination:=matchRange, DataType:=xlDelimited, FieldInfo:=Array(1, 4) Set matchRange = matchRange.Offset(0, 1) matchRange.TextToColumns Destination:=matchRange, DataType:=xlDelimited, FieldInfo:=Array(1, 4) You know - this would never have happened if them bloomin Yanks didn't have their standards imprinted into Microsoft Excel... (Despite what regional settings you might have in place on your machine). Oh well. -Scrawny |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IRR Calculation Frustrations | Excel Discussion (Misc queries) | |||
Concatenation frustrations.... | Excel Worksheet Functions | |||
irr, xirr, npv frustrations | Excel Worksheet Functions | |||
DSUM frustrations | Excel Worksheet Functions | |||
DSUM frustrations | Excel Worksheet Functions |