Hi John, welcome to the board
Here is one way.....
so in a cell formula would beCode:Function IsFile(strFilePath As String) As String application.volitile If Len(Dir(strFilePath)) = 0 Then IsFile = "Whatever" Else IsFile = "File present" End If End Function
=IsFile("c:\a\test.xls")


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks