+ Reply to Thread
Results 1 to 4 of 4

Check if a list of Files exists Macro

  1. #1
    Registered User
    Join Date
    07-06-2007
    Posts
    70

    Check if a list of Files exists Macro

    Hi all,

    I have a list of file paths in excel and want to use a macro to check if that actual files exists. I have it working where i can manually check the selected cell. However, i want to know if its possible to check the whole list in the one go - and for it to write the result in column A - either YES or NO.

    I have attached what i've got so far - any help would be greatly appreciated.

    Thanks,
    C
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    One way:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro

    Hi
    Paste the following codes in the macro window ( Alt f11 insert > module)
    Please Login or Register  to view this content.
    run the macro. it will list all files in the said folder and compares with your list and fills col E with yes or no
    Ravi

  4. #4
    Registered User
    Join Date
    07-06-2007
    Posts
    70
    That's amazin, thanks a lot!

    Don't know exactly what it does but works great!

    Not sure where i'd be without this forum sometimes - thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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