+ Reply to Thread
Results 1 to 3 of 3

Extract images using product code from an XML link

  1. #1
    Registered User
    Join Date
    02-23-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    31

    Extract images using product code from an XML link

    Hi guys. hope someone can assist me with this. my supplier provide me with an XML file containing all the available products which is updated weekly. the xml file contains a column titled Vendor code. now this is where it gets tricky, in order for me to get the images for a particular product i have to paste the selected vendor code into a specific link and i am provided with another xml file which contains alot of information as well as a link for the product images.

    is there a way to automatically extract the images into the original xml file (the one containing the available products) which can be separated by a ";" should there be more than one image in the other xml file in a column to the extreme right of the said vendor code?

    ive uploaded a short example of the product xml file and the image xml file.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Extract images using product code from an XML link

    You cannot have images in the same cell separated by ";"

    This code will add an image into the cells comments starting in column M, and if there are more image files, will continue to the next column.

    -
    AddComment.jpg

    -
    Please Login or Register  to view this content.
    See attached, the one workbook is now an .xlsm wb
    With both workbooks open
    Click the button to run the code.

  3. #3
    Registered User
    Join Date
    02-23-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    31

    Re: Extract images using product code from an XML link

    Hi davesexcel
    thank you kindly for your reply.
    see the problem is i get an updated XML file weekly so the code you have written will be quite time consuming as i will have to download the "Images for the specific vendor code" individually per the listed items in the products page.
    is there a way for the code to automatically extract the images (not the actual image but the link) in separate columns as you have stipulated but do it automatically from a single file instead of 2 separate excel files.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extract unique product code
    By shtmd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-26-2019, 08:06 AM
  2. Help with populating Images from a product list
    By Spartan5305 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-28-2017, 06:03 PM
  3. Replies: 2
    Last Post: 12-08-2014, 06:04 AM
  4. Replies: 1
    Last Post: 06-20-2014, 03:38 PM
  5. Product images in to Excel
    By nixx81 in forum Excel General
    Replies: 14
    Last Post: 08-22-2013, 07:46 AM
  6. Link product image to product code
    By rogan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-10-2013, 02:51 AM
  7. [SOLVED] 4 digit code for similar product, new product unique code
    By unclejemima in forum Excel General
    Replies: 47
    Last Post: 06-06-2013, 01:02 PM

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