Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Looking for Excel VBA Example

I want to process all excel workbooks in a directory. Can someone
give me an example?

How do I gather the names of each excel workbooks in the directory?
How do I loop throught them? ie, For each excel workbook

Thank you for any help,
Jeff
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Looking for Excel VBA Example

Mayby this will give you some ideas Jeff.
http://www.rondebruin.nl/copy3.htm

You can see how the Dir function is working.
Post back if you need help



--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Jeff Arledge" wrote in message om...
I want to process all excel workbooks in a directory. Can someone
give me an example?

How do I gather the names of each excel workbooks in the directory?
How do I loop throught them? ie, For each excel workbook

Thank you for any help,
Jeff



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Looking for Excel VBA Example

Thank you for the help

"Ron de Bruin" wrote in message ...
Mayby this will give you some ideas Jeff.
http://www.rondebruin.nl/copy3.htm

You can see how the Dir function is working.
Post back if you need help



--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Jeff Arledge" wrote in message om...
I want to process all excel workbooks in a directory. Can someone
give me an example?

How do I gather the names of each excel workbooks in the directory?
How do I loop throught them? ie, For each excel workbook

Thank you for any help,
Jeff

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



All times are GMT +1. The time now is 05:50 PM.

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

About Us

"It's about Microsoft Excel"