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: 4
Default OpenText method - how to check if file exists

Hi,

I am using OpenText method for opening a text file from the Internet
location (so the file is something like http://www.x.y/file.txt).
Everything is fine except when the file/page is not found I get a
message like "could not open ..." that I want to avoid but I don't
know how. I have an error handler that deals with it but the message
still shows first and the error handler is processed after clicking
OK. Is there any way I can avoid the message or check if the file/page
exists?

thanks very much

regards, dejan

 
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
Check if a File Exists Ray Clark[_2_] Excel Programming 4 June 11th 08 05:13 PM
Check if file exists Jon Excel Discussion (Misc queries) 14 October 4th 07 04:57 PM
Loadpicture - check if file exists t0ny Excel Programming 3 December 27th 06 04:01 PM
How do I check if a sheetname exists in a file? NezRhodes Excel Programming 2 August 22nd 06 09:44 AM
check if file exists Curt Excel Programming 0 December 7th 05 05:02 PM


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