Hi,
I was wondering what would be the best vehicle to read through a series of .csv files of varying sizes? I would like to be able to sort through the entries. Here's an example of one of the files:
Date: 02/12/2004 Time: 01:21:22 System Name: D134P1
Name: 0099A52PDI03
Operator: SYSTEM
Action: Alarm received from Node 41. Value: 0.0058, Status: -N-, Cmd Pri: NONE
********************************************************************************
Date: 02/12/2004 Time: 01:25:03 System Name: D134P1
Name: 0099A52PDI03
Operator: SYSTEM
Action: Alarm received from Node 41. Value: -0.0055, Status: *A4*, Cmd Pri: NONE
********************************************************************************
Date: 02/12/2004 Time: 01:26:58 System Name: DA51T1
Name: DA51T1
Operator: SYSTEM
Action: Alarm received from Node 38. Value: 50.03, Status: -N-, Cmd Pri: NONE
********************************************************************************
Date: 02/12/2004 Time: 01:26:59 System Name: DA51T1
Name: DA51T1
Operator: SYSTEM
Action: Alarm received from Node 38. Value: 50.00, Status: *A4*, Cmd Pri: NONE
********************************************************************************
etc/
Name of sample file : "System Activity Daily Alarm_02-13-04_02-20.csv"
I'm familiar with using ADO, but not with text. I'd like to be able to search through the records for different Status and date/time values and then paste into Excel.
I was thinking of using some kind of recordset function, but don't know what would be the most efficient to perform this task. Maybe an FSO object?
Any guidance to get me started would be greatly appriciated.
Thanks,
BP
I was wondering what would be the best vehicle to read through a series of .csv files of varying sizes? I would like to be able to sort through the entries. Here's an example of one of the files:
Date: 02/12/2004 Time: 01:21:22 System Name: D134P1
Name: 0099A52PDI03
Operator: SYSTEM
Action: Alarm received from Node 41. Value: 0.0058, Status: -N-, Cmd Pri: NONE
********************************************************************************
Date: 02/12/2004 Time: 01:25:03 System Name: D134P1
Name: 0099A52PDI03
Operator: SYSTEM
Action: Alarm received from Node 41. Value: -0.0055, Status: *A4*, Cmd Pri: NONE
********************************************************************************
Date: 02/12/2004 Time: 01:26:58 System Name: DA51T1
Name: DA51T1
Operator: SYSTEM
Action: Alarm received from Node 38. Value: 50.03, Status: -N-, Cmd Pri: NONE
********************************************************************************
Date: 02/12/2004 Time: 01:26:59 System Name: DA51T1
Name: DA51T1
Operator: SYSTEM
Action: Alarm received from Node 38. Value: 50.00, Status: *A4*, Cmd Pri: NONE
********************************************************************************
etc/
Name of sample file : "System Activity Daily Alarm_02-13-04_02-20.csv"
I'm familiar with using ADO, but not with text. I'd like to be able to search through the records for different Status and date/time values and then paste into Excel.
I was thinking of using some kind of recordset function, but don't know what would be the most efficient to perform this task. Maybe an FSO object?
Any guidance to get me started would be greatly appriciated.
Thanks,
BP