+ Reply to Thread
Results 1 to 5 of 5

Macro to insert photo automatically in EXCEL 2007

  1. #1
    Registered User
    Join Date
    04-16-2009
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    8

    Macro to insert photo automatically in EXCEL 2007

    Hi,

    i have been using the bellow code in Excel 2003 to insert photos from a folder automatically.

    Recently i've passed to EXCEL 2007, and it's not working anymore.

    The idea is to insert photos in column A based on the product name present in column B, and starting from the active.cell. The photo is inserted in row left to the product number, and have a specified width.
    Then it goes down inserting the photos automatically in a loop for all the products in B.

    Anybody knows how to update it for Excel 2007?

    Thanks!!!
    Nicolas


    Here the code:
    Please Login or Register  to view this content.
    Last edited by davesexcel; 06-10-2010 at 05:39 AM. Reason: Code tags are required when supplying code, check out the forum rules

  2. #2
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: Macro to insert photo automatically in EXCEL 2007

    Please refer this thread for a similar query of mine which Andy Pope (Forum Guru) had answered. You may require a minor tweaking for your requirement

    https://www.excelforum.com/showthread.php?t=695528

    rgds

    johnjohns

  3. #3
    Registered User
    Join Date
    04-16-2009
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Macro to insert photo automatically in EXCEL 2007

    Thanks!
    But i'm not so good to change the macro , since i need the photo to be placed on the left of the code.

    For ex:

    A - B (code)
    1 - Space for photo - 0001
    2 - Space for photo 0052
    3 - Space for photo 0362
    4 - Space for photo 0652

    The macro should insert the photo in the space looking for the code.jpg in the photo folder.

    Thanks
    Nicolas

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Macro to insert photo automatically in EXCEL 2007

    Something like this,

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    04-16-2009
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    8

    Talking Re: Macro to insert photo automatically in EXCEL 2007

    THANKS!!!

    it's a lot of time i was looking for the Solution!
    Your are Great!!

    Goooooood!

    Nicolas

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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