Closed Thread
Results 1 to 2 of 2

Vlookup to Insert photos compiled in a Folder to en Excel file

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2010
    Posts
    2

    Vlookup to Insert photos compiled in a Folder to en Excel file

    Excel Experts/Afficionados,


    I have a work problem that only a Macro can solve and I have no experience in this field.

    I work in Retail so we base what we sell our entire season based on one file which consists of 6 digit codes, each related to a different product, and a picture of the final product as well. There are LOTS of codes..so there are LOTS of pictures.

    I have all of the pictures saved in a couple different folders on my hard drive. I would like help with two issues:

    1. Each pictures takes up multiple cells in terms of space because each code has subcodes to devide the product in its various sizes. The picture spans this range of sizes.
    A. Is there any way to use a macro to instruct excel to take the specific picture that is related to a cell containing the 6 DIGIT CODE and paste/imbed this foto in the space which has been allocated for it?
    B. When I download a report from systems, my information is always based on the 6 or 13 codes related to the products, when analyzing the data, I would also like this macro to be able to embed the foto next to its corresponding code. In this case, the code will only occupy 1 cell because it doesnt include the range of sizes like the other document. Is there a VBA code that tells excel to first embed the picture, then adjust the cell to the dimensions of the picture or something similar to make this work?

    2. I also have an issue with the sizes of the files because I have so many fotos. Please note that the question 2(A) also applies to questions 1(A) and 1(B)

    A. I was reading up on the issue and I am led to understand that it is possible to do a Vlookup with hyperlinks to the foto file in my directory rather simply pasting or embedding the foto which would help with my size issue. Is there anyone that has a macro or knows how to design one that will let me vlookup hyperlinks based on the 6 Digit code so that I can press the link (which would now be to the right of the code) to see the picture on an as needed basis?

    Thanks so much for any help you guys can provide me.

    Cheers.
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Vlookup to Insert photos compiled in a Folder to en Excel file

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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