• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Macros to list filenames and import images with hyperlinks into worksheet

akarich73

New Member
Hi,

Thought I'd share the attached which contains macros to insert hyperlinked file names with images in adjacent cell or in comment from a folder in a column list. VBA code was developed from a number of references as detailed in the comments.

Usage includes: listing files from a folder with hyperlinks; creating an index of photos with hyperlinks to the originals, etc.

Background is that I needed code to list thumbnails of photos in a folder, potentially 100s at any one time, in an excel table which could then be categorised, rated, commented against, etc. Hyperlinks can be either relative or full path. Relative path means that you can send the excel file and original folder to someone else and they can use the excel file as an index.

Its been pretty well tested but use at your own risk. More details in the attached.
 

Attachments

  • macro_ImportFileNamesAndImages_v3.xlsm
    148.6 KB · Views: 8
Sorry that's not what the code was intended to do. Why would u use excel vba for that task when windows file explorer or similar would do it and much more quickly.
 
Back
Top