Hi All, I have a csv file and I have to create a table by reading specific rows and columns from the csv file.
I would like to do this using VBA..
1) I have to read 1st rows 1 st column after colon as my filename field ( Document Name: 12-18-2009 Panel xls )
2) Then I have to read 8th row, 2nd colum Dec18 2009 as run_date(Run Date: Friday December 18 2009 10:59:03)
3)Finally I want to read columns2,3,4, from row 29 to row 150 as field1, field2 field 3 ( sample, test, value).After reading I have to transpose these, i.e make columns to rows and vice versa. so there will be at the maxium 8 rows and 9 columns . Then I have to append the filename and run_date to create a table. I have done this in SAS, now planning to do it in ACCESS
can any one help me start this coding in ACCESS. I created a form to accept the csv file name. In my code this file is read and create a table out of all these values to process.
Thanks
I would like to do this using VBA..
1) I have to read 1st rows 1 st column after colon as my filename field ( Document Name: 12-18-2009 Panel xls )
2) Then I have to read 8th row, 2nd colum Dec18 2009 as run_date(Run Date: Friday December 18 2009 10:59:03)
3)Finally I want to read columns2,3,4, from row 29 to row 150 as field1, field2 field 3 ( sample, test, value).After reading I have to transpose these, i.e make columns to rows and vice versa. so there will be at the maxium 8 rows and 9 columns . Then I have to append the filename and run_date to create a table. I have done this in SAS, now planning to do it in ACCESS
can any one help me start this coding in ACCESS. I created a form to accept the csv file name. In my code this file is read and create a table out of all these values to process.
Thanks