+ Reply to Thread
Results 1 to 3 of 3

Get picture file from folder based on filename

  1. #1
    Registered User
    Join Date
    04-20-2009
    Location
    Sanford, Florida
    MS-Off Ver
    Excel 2003
    Posts
    1

    Get picture file from folder based on filename

    I have a file folder of student pictures in jpg form. They have as the filename the student's identification number. I have an Excel listing of the students' names, grade, and identification numbers. I would like to be able to insert the students' pictures into the Excel file by matching the identification number field with the name of the jpg file in the file folder.

    Will I have to create a VBA script or a macro in order to accomplish this, or is there a way to create a formula which would match the two items and return the picture to the cell? If I need a script, is there anyone who has done anything like this successfully and could help me?

    Thanks for any help or advice you can offer.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Get picture file from folder based on filename

    Hi,

    Welcome to the forum, take a look at this previous post

    http://www.excelforum.com/excel-new-...in-a-list.html
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

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

    Re: Get picture file from folder based on filename

    HI
    Save the attached file in the folder containing pictures. fill Col A (from A2) with the ID numbers and run the macro. it will pull the corresponding photos.
    Ravi
    Attached Files Attached Files

+ 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