Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a large CSV file that I need to read and filter into various
sheets based on some rules that test values in particular columns. There are more than 64k rows, so I can't load it into one sheet first and then split it up from there as this needs to be 2003-compatible. I'm currently reading it line by line in a macro, breaking up each line into its fields, applying the rules, and then writing each row to the appropriate sheet. This is quite slow, I think mostly it's the rules part of the code, but I was wondering if there was any way of parsing a single row of CSV other than doing it the hard way? I suppose I should try writing the entire line to a single cell and calling Text To Columns on it and then sending it off to the appropriate sheet. Maybe I could do, say, 10000 rows at a time this way, and maybe use AutoFilter to apply the rules. Any other suggestions? Phil Hibbs. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to convert a dotted line to a solid line in a line graph | Charts and Charting in Excel | |||
Make a line in a bar chart, and change color of any bars that exceed the line | Excel Discussion (Misc queries) | |||
coloring overy other line without doing so line by line | Excel Worksheet Functions | |||
Macro problem on, Yellowed line - previous line or next line. | Excel Programming | |||
Reads entire *.txt file into string opposed to a desired line by line input. | Excel Programming |