Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
sc sc is offline
external usenet poster
 
Posts: 28
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default folder for opening/saving files Dino Excel Discussion (Misc queries) 2 July 5th 07 11:28 PM
opening order macro for files in a folder Sanbitter Man[_2_] Excel Programming 1 June 24th 06 11:09 AM
"Folder Select" Dialogue - Opening multiple files from selected folder Rob[_26_] Excel Programming 2 September 30th 05 02:47 PM
Opening Files from a folder in sorted order. Excel Beginner Excel Programming 2 March 15th 05 03:35 PM
Opening all txt files in a folder and saving as excel Jason Excel Programming 1 February 23rd 04 09:01 PM


All times are GMT +1. The time now is 08:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"