LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Macro suddenly stops mid process through an array

Dear All,

I have the following array (variant): Row,FileName,Path,Use,Done with
about 5,000 rows in it.

I firstly fill the array columns Use and Done with the string "blank"
where there are any "empty" elements.

I then loop through each row, concatenate path & file and open the
file in read only that it corresponds to (there to ensure it exists).
It then reads a cell, writes it to another opened file and then close
the file.

My problem is that the macro suddenly stops (no debug error warning)
and random times, sometimes on file 35 or sometimes on file 435.

Any ideas why this would happen would be greatly appreciated.

Cheers

Mac
 
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
Shell command in VBA suddenly stops working Ian Parker[_3_] Excel Programming 3 May 1st 12 03:54 PM
Data Validation in XL2007 suddenly stops functioning ker_01 Excel Discussion (Misc queries) 0 January 29th 10 11:58 PM
Macro Suddenly Fails Bill Martin Excel Discussion (Misc queries) 2 September 16th 05 01:55 PM


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