Results 1 to 19 of 19

Check If Files Exist and Return

Threaded View

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Belgium
    MS-Off Ver
    Excel 2003
    Posts
    47

    Thumbs up Check If Files Exist and Return

    Hi,
    I have been searching here and on the www. for the this but no succes.

    I would like to check/search if (FileName As String) is still exists in its directory.
    --Why as string: because I have a hidden kollom where the links to the files are in txt format.--

    I can't write VBA But maybe I can sketch it?

    NOT A CODE

    Function CheckFileExistance (Filename as string)
    If  Link or Filename as string =  TRUE then
        CheckFileExistance = "File" or "YES" or "A"
    Else
        CheckFileExistance = "NoFile" or "NO" or "N.A"
    End If
    End Function

    (MOD: tags even for psuedo-code please... yes, we're that pedantic!)
    Last edited by Bluewhistler; 02-08-2010 at 08:40 AM. Reason: Solved By DonkeyOte! Thx.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1