Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default using macro to open every file in a folder


I need to open a file, copy a few lines and close it. then open th
next. I know how to do all that except getting the loop to open th
next file automatically. The trouble is that i don't know how man
files might be in the folder. it might be 4 or 5, but it might be up t
10 or 11.

any suggestions?

thanks,
richar

--
wraithlea
-----------------------------------------------------------------------
wraithlead's Profile: http://www.excelforum.com/member.php...fo&userid=1157
View this thread: http://www.excelforum.com/showthread.php?threadid=27269

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default using macro to open every file in a folder

Richard,

there is an example at http://tinyurl.com/67tfh


--

HTH

RP

"wraithlead" wrote in message
...

I need to open a file, copy a few lines and close it. then open the
next. I know how to do all that except getting the loop to open the
next file automatically. The trouble is that i don't know how many
files might be in the folder. it might be 4 or 5, but it might be up to
10 or 11.

any suggestions?

thanks,
richard


--
wraithlead
------------------------------------------------------------------------
wraithlead's Profile:

http://www.excelforum.com/member.php...o&userid=11578
View this thread: http://www.excelforum.com/showthread...hreadid=272696



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 Fileopen folder Wackyracer Setting up and Configuration of Excel 4 April 28th 23 03:43 AM
Open each file in a folder and closing it Ayo Excel Discussion (Misc queries) 3 September 22nd 08 09:03 PM
Macro to open most current file in folder Tasha Excel Discussion (Misc queries) 6 June 19th 07 03:36 PM
Unable to open a file from its icon in folder John Excel Discussion (Misc queries) 4 February 14th 06 02:02 AM
Macro syntax to open file in current explorer folder [email protected] Excel Discussion (Misc queries) 4 January 11th 06 12:07 PM


All times are GMT +1. The time now is 09:24 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"