Hi all,
I have a *.csv file that is exported daily. This .csv is not in any particular order. The date is in the first row (B2, i know its comma delimited just giving an idea), the data is running across and sometimes running downwards, meaning it isn't in a purely table format. After opening the .csv from a specified path, what I want to do is grab certain information from the csv file according to the location of the field, lets take the date field (date,04/23/06,) how can I in vba specify look for a field name "date" once it locates it look at the value which follows it meaning "04/23/06" then it will take this value and place it in Table1->Date field. Then it looks at another field till all of the field values in Table1 have been populated. I have searched through this forum and tried numerous things but they don't work according to what I require. If someone can assist in showing me the right direction that would be great.
I have a *.csv file that is exported daily. This .csv is not in any particular order. The date is in the first row (B2, i know its comma delimited just giving an idea), the data is running across and sometimes running downwards, meaning it isn't in a purely table format. After opening the .csv from a specified path, what I want to do is grab certain information from the csv file according to the location of the field, lets take the date field (date,04/23/06,) how can I in vba specify look for a field name "date" once it locates it look at the value which follows it meaning "04/23/06" then it will take this value and place it in Table1->Date field. Then it looks at another field till all of the field values in Table1 have been populated. I have searched through this forum and tried numerous things but they don't work according to what I require. If someone can assist in showing me the right direction that would be great.