04-01-2008 03:57 PM
04-01-2008 06:35 PM
Hey Bill,
Here is a sub vi I wrote that opens an excel file then extracts data from named cells in excel and writes it to a spreadsheet. I had to search the forums for a little bit before I figured out how to do it myself.
The reason for the error case is because sometimes excel would not open for every file I was looking in for data. I was getting data from 50+ excel files and random files would not get opened giving me bad data. I guess it is a known problem that excel sometimes takes too long to open and will generate an error.
Bryan