I have a number of Excel files (Excel 2003) in a folder and want t
extract data from some of them.
All the files in this folder are named "MS06XXX.0.xls" where XXX ar
numbers.
I would like to open a number of files from say MS06090.0.xls t
MS06210.0.xls
After opening a file a need to extract data from a sheet called "Trans
and close the file. In some of the files there will be no "Trans" shee
so I will need some error handling for this.
The files with a "Trans" sheet are abouth 500 kb in size and the one
without this sheet are abouth 70 kb in size so perhaps this could b
used in stead of error handling. Something like "If filesize 400 k
Then"
I also thought I could use i = 90 To 210 Step 1
and construct the file name ="MS06" & i &".0.xls" but if "i" is only
diggits this wont work.
Pleas post your ideas how to solve this problem
--
Al
-----------------------------------------------------------------------
Alf's Profile:
http://www.excelforum.com/member.php...nfo&userid=711
View this thread:
http://www.excelforum.com/showthread.php?threadid=55066