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: 1
Default programmaticaly test more then 1000 excel files for "opening Errors"

Ref. Windows 2000 proff.
Excel 97, Excel 2K

I would like to programmaticaly test more than 1000
excel files for "opening Errors" like ...
1)This file is not in a recognizable format ....
or
2)'File Name.xls' cannot be accessed ....
or Whatever opening error

I think the macro shoul work like this.

for each Excel file in c:/documents
open the file, ( and without the user prompt ... )
if there is an excel error message ...
log file name in bad c:\files.txt
else
log file name in good c:\files.txt
end if
next file

Any Help ? Thanks.

Best Regards.

Robert.
 
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
Excel files opening in "read only" Rich D Excel Discussion (Misc queries) 1 March 21st 08 10:46 PM
On opening Excel, 4 non ".xls" files open that I cannot delete Twoheat Excel Discussion (Misc queries) 2 March 6th 06 02:36 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Solution: How to programmaticaly leave "edit mode" David Owens Excel Programming 2 September 3rd 04 03:09 PM
Looking for VB code to test for "RING" , "BUSY" disconnects or other signals BruceJ[_2_] Excel Programming 3 November 20th 03 01:55 AM


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