Thread: Is it there?
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Greg Wilson Greg Wilson is offline
external usenet poster
 
Posts: 747
Default Is it there?

See John Walkenbach's FileExists function:

http://j-walk.com/ss/excel/tips/tip54.htm#func1

"MD" wrote:

Good day all,

I'm looking for a simple code that checks if a file exists in a folder.

if c:\temp\abc.txt is there then
else exit sub

Regards

MD