Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default a macro to run on all the file in the same folder


thanks
your macro save me a lot of time.

Bob Phillips Wrote:
"ditzafar" wrote
in
message ...

I have same questions.
1. im aryFiles did you mean dim aryfiles. if you mean it, for what do

I
need it?


I do, the copy got chopped.

2. for what do I need Dim i As Integer


You don't need either, I cut this from some other code, and left some
redundant stuff in.

3. selectFiles "c:\MyTest" did it is the name of the folder
if it the name of the folder where does this macro run on all the
files


Yes

4.when I runing this macro I get a erro message "sub or function not
define".
for the function selectFiles


I don't, I am not sure why you should. As you can see the sub exists.

5. Should I call my macro between this two line


I have marked where you should call your macro.



--
ditzafar
------------------------------------------------------------------------
ditzafar's Profile: http://www.excelforum.com/member.php...o&userid=29475
View this thread: http://www.excelforum.com/showthread...hreadid=497905

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
Macro to open most current file in folder Tasha Excel Discussion (Misc queries) 6 June 19th 07 03:36 PM
Need a macro to include file names in a folder to excel sheet anil Excel Discussion (Misc queries) 0 March 12th 07 09:10 AM
Macro syntax to open file in current explorer folder [email protected] Excel Discussion (Misc queries) 4 January 11th 06 12:07 PM
using macro to open every file in a folder wraithlead[_8_] Excel Programming 0 October 27th 04 08:07 AM
using macro to open every file in a folder wraithlead[_7_] Excel Programming 1 October 27th 04 07:19 AM


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