Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Marco to process data in many files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nils Titley - 17 Mar 2008 18:31 GMT
I have a macro that process a existing excel file but now I need it to
process many files in a specific folder.  I have open and closed files and
read and written data in C but I need to help getting started on this.  Could
some one give me some starting code or point me in a good direction to find
an example.

Thanks
Joel - 17 Mar 2008 19:40 GMT
Here is code that I posted earlier today.  It move files from one directory
to another.  It only need a small modification to open the file using

workbooks.open filename:=

instead of the move instruction.

> I have a macro that process a existing excel file but now I need it to
> process many files in a specific folder.  I have open and closed files and
[quoted text clipped - 3 lines]
>
> Thanks
Dave Peterson - 17 Mar 2008 19:40 GMT
Ron de Bruin has tons of sample code:
http://www.rondebruin.nl/copy3.htm
http://www.rondebruin.nl/fso.htm

> I have a macro that process a existing excel file but now I need it to
> process many files in a specific folder.  I have open and closed files and
[quoted text clipped - 3 lines]
>
> Thanks

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.