database - extract data from multiple text files in a folder into excel worksheet -


I have several "datasheet" text files that are used on the job with a program and to harvest prices from them And it needs to be combined in all the spreadsheets.

Text files are formatted like this:

  [file] DescText = "1756-IF16H 16 Channel Heart Analog Input Module"; CreateDate = 04-07-10; CreateTime = 10:29; Modification = 1.1; HomeURL = "http://www.ab.com/networks/eds/XX/0001000A00A30100.eds"; [Device] Vendode = 1; VendName = "Allen-Bradley"; ProdType = 10; ProdTypeStr = "with Multi-Channel Analog I / O Heart"; Prododod = 163; MajarR = 1; Minerv = 1; Prodenam = "1756-IF 16H / A"; List = "1756-IF 16H / A"; Icon = "io_brown.ico";  

Tags are consistent with all files and each line ends with a semicolon [; ] So I'm assuming it should be very easy. I need to pull "Destext", "Vend Code", "ProdType", "MajorRave", "Minerv" and "Prodenam" in different columns.

There are about 100 individual data files, each of which is nonsensical filename, so I want to go through the macro and open each one in the folder.

Thanks for the help, here is the solution that I have come to for this specific problem


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -