L
laavista
I'm using Excel 2003. I'm looping through a set of Excel files, opening
each one and writing data from that Excel spreadsheet into a "master" excel
spreadsheet.
The program failed when one of the Excel files was corrupt.
Also--occasionally the user will have a file in a different format (e.g.,
Word) in the directory I'm working with, and that's causing problems.
1) How do I check that the file to be opened IS .xls?
2) How do I check that the Excel file is not corrupt?
Your help would be GREATLY appreciated.
THANKS!
each one and writing data from that Excel spreadsheet into a "master" excel
spreadsheet.
The program failed when one of the Excel files was corrupt.
Also--occasionally the user will have a file in a different format (e.g.,
Word) in the directory I'm working with, and that's causing problems.
1) How do I check that the file to be opened IS .xls?
2) How do I check that the Excel file is not corrupt?
Your help would be GREATLY appreciated.
THANKS!