ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   opening multiple xls files in a folder (https://www.excelbanter.com/excel-programming/365957-opening-multiple-xls-files-folder.html)

sc

opening multiple xls files in a folder
 
I am using excel 2002. I want to select a folder and open the first xls file
then search the first sheet for some text, close that file then open the next
file search it, then the next file search it and so on. I cant figure out
how to open the first file close it, open the next file close it and so on
until I have done this with all the xls files in a particular folder. Any
help would be much appreciated.

Norman Jones

opening multiple xls files in a folder
 
Hi SC,

See Ron de Bruin's sample code at:

http://www.rondebruin.nl/copy3.htm

---
Regards,
Norman



"sc" wrote in message
...
I am using excel 2002. I want to select a folder and open the first xls
file
then search the first sheet for some text, close that file then open the
next
file search it, then the next file search it and so on. I can't figure
out
how to open the first file close it, open the next file close it and so on
until I have done this with all the xls files in a particular folder. Any
help would be much appreciated.





All times are GMT +1. The time now is 01:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com