Hi,
One of the jobs my department has to do is stuff excel datasheets with data from text files (tab separated values files). I want to automate this process, but I’m not sure the best way of doing it.
Basically I need something (a macro a script, I’m not sure) that looks a column A of the source document, if it sees a particular value, for instance the words “Product Name”, it should then take the value in the corresponding cell from column B and copy that value from the source file to a specified cell in the datasheet. If the macro/script or whatever can’t find a value it’s looking for, I need it to populate the relevant cell of the datasheet with the letters TBA.
Can anyone tell me how I can go about this? Any and all help very gratefully received.
Thanks
kwinsw
One of the jobs my department has to do is stuff excel datasheets with data from text files (tab separated values files). I want to automate this process, but I’m not sure the best way of doing it.
Basically I need something (a macro a script, I’m not sure) that looks a column A of the source document, if it sees a particular value, for instance the words “Product Name”, it should then take the value in the corresponding cell from column B and copy that value from the source file to a specified cell in the datasheet. If the macro/script or whatever can’t find a value it’s looking for, I need it to populate the relevant cell of the datasheet with the letters TBA.
Can anyone tell me how I can go about this? Any and all help very gratefully received.
Thanks
kwinsw