Results 1 to 69 of 69

Use code to insert multiple pictures from list based on a call value

Threaded View

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    London, England
    MS-Off Ver
    Excel M365
    Posts
    73

    Use code to insert multiple pictures from list based on a call value

    Hi all,

    Thanks in advance for help.

    I am trying to help my sister create a mailing list containing names and images which she changes constantly. The list involves 3 data fields (a name, a size, a price), plus a picture. In the sheet attached the sheet (Flower-Letter) will get PDFed and sent out. What I would like to do is have the code look for the Name (currently a, b, c , d, e etc) and then place the image of the relevant flower found on the sheet "Flowers - List" in the cell 4 rows below (formatted to fit it)

    The Flowers-Letter page is fed from the input sheet where in cells F6-F43 the user will update the list of relevant items for that newsletter (these will also be pulled from the list to ensure they are exact matches). These are then put into alphabetical order and fed onto the Letter sheet. So would need to code to go through the names shown on the Letter Sheet (B4, D4, B10, D10 etc) and check each image corresponds (or if easier deletes all images minus logo at top and adds new relevant ones). Ideally images would be aligned to top left of their prospective cell too (the images will all be put into list exactly the same size and ratio). There will eventually be 4 from pages / lists but if I can get one working with help I should be able to modify code across the rest.

    Not sure if this is possible - there is a link below to a thread that is similar but could not get it to work:

    https://www.excelforum.com/excel-pro...ys-method.html

    Have also looked at the linked image option but would require 100s of named ranges as far as I can understand.

    Any advice would be much appreciated.

    Thanks,

    Alex
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Code stall at .Pictures.Insert URL - server not responding?
    By PeterBundeHansen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-16-2017, 12:19 PM
  2. need a vba code to insert pictures with a corresponding file name
    By whan714 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-19-2015, 02:50 PM
  3. insert pictures using a list of picture names
    By bsapaka in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-13-2014, 11:21 PM
  4. Error in code to insert pictures in excelsheet
    By Danielle22 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-30-2013, 01:24 PM
  5. VBA or Macro code to insert pictures in cell
    By thedefense in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2013, 03:47 PM
  6. Insert/Delete Multiple Pictures but 1 or more pictures not available
    By MrNoodles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-28-2012, 02:10 PM
  7. insert pictures code, needs editing
    By ufopilot3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2012, 09:48 AM

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