Results 1 to 10 of 10

Link to file if exist

Threaded View

  1. #1
    Registered User
    Join Date
    12-01-2010
    Location
    Belgrade
    MS-Off Ver
    Excel 2003
    Posts
    12

    Link to file if exist

    Hi,

    I am trying to create macro in excel 2007.
    I have excel document in folder together with other files (.pdf, .doc, .xls.....) in excel document I have column (i2,i3,i4...) inside that column I have exact file name (documentName.pdf, documentName.doc....). I need macro that would search for that particular file (if exist) in the same folder and add a link to that file. Something like: i2=documentName.pdf - if that file exist add hyperlink to k2 "link to file" (or "no file on disk" if file doesn't exist), and continue loop trough all "i" columns.

    Thanks so much for help.
    Last edited by bongobuda; 12-06-2010 at 12:42 PM.

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