Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Marco to process data in many files

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Marco to process data in many files

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.

"Nils Titley" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Marco to process data in many files

Ron de Bruin has tons of sample code:
http://www.rondebruin.nl/copy3.htm
http://www.rondebruin.nl/fso.htm

Nils Titley wrote:

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


--

Dave Peterson
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
How to process multiple Excel Files Nils Titley Excel Programming 2 March 17th 08 05:00 PM
Use Custom Document Property to identify xls files not yet process Robert_L_Ross Excel Programming 2 September 28th 07 01:49 AM
Customising Application.Filesearch to process textpad kind of files Hari[_3_] Excel Programming 6 January 15th 05 06:26 AM
How to count process running time ( process not finished) miao jie Excel Programming 2 January 12th 05 06:01 AM
Process excel files, suppress alerts mwazir Excel Programming 4 June 2nd 04 02:23 PM


All times are GMT +1. The time now is 10:08 AM.

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"