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: 5
Default File cannot be accessed

Hi
I have a macro that sequentially opens data files (csv data in .rnd files), copies data to the main workbook, then closes the file. This normally works well but when the number of files reaches some arbitrary number, around 200, I get the message: Filename "cannot be accessed.The file may be corrupted, located on a server that is not working or read-only."
If I process in blocks of less than 150 the same file opens without problems. It would be good though to keep all 250 files together. Any ideas of how to avoid the issue?
Thanks,
Rod
 
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
file could not be accessed - reference xlextras.xla Steve Excel Discussion (Misc queries) 2 November 3rd 08 04:17 PM
file.xls cannot be accessed...Read only... OA Excel Discussion (Misc queries) 7 February 26th 07 07:53 PM
File cannot be accessed KMc Excel Discussion (Misc queries) 2 July 20th 06 03:56 PM
file cannot be accessed, could be read only somnath shetty Excel Discussion (Misc queries) 2 April 10th 06 03:30 PM
"file" cannot be accessed FJB Excel Discussion (Misc queries) 4 May 18th 05 03:45 AM


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