08-26-2007 05:22 PM
08-26-2007 06:16 PM
08-26-2007 06:32 PM
08-26-2007 06:54 PM - edited 08-26-2007 06:54 PM
Message Edited by Stradis on 08-26-2007 07:54 PM
08-26-2007 06:56 PM
08-26-2007 06:57 PM
08-26-2007 07:06 PM
Your sample file is tab separated. Here's a quick way to read it and extract the rows containing VOLT in the first column.
John@Saft wrote:
I am opening a comma seperated file, ...
08-26-2007 07:16 PM
08-26-2007 07:55 PM - edited 08-26-2007 07:55 PM
@Stradis wrote:
Your solution is very concise, yet inefficient in this application, you are parsing every single line, and if I understand what he did, it is a pretty huge datafile.
I don't like to discuss performance without any real benchmarks on big files, but you could be right. 🙂
However, if only the VOLTS lines are needed at the end, the "string to spreadheet array" will create a gigantic 2D array. Maybe it would be faster to search the raw string for the VOLTS lines only. Just an idea that might be worth benchmarking. 🙂
Seems to reduce the problem by about a factor of 30.

Message Edited by altenbach on 08-26-2007 05:56 PM
08-26-2007 08:02 PM