+ Reply to Thread
Results 1 to 5 of 5

Importing Multiple Images to Non-Adjacent Cells

  1. #1
    Registered User
    Join Date
    11-17-2017
    Location
    Myanmar
    MS-Off Ver
    2016
    Posts
    8

    Importing Multiple Images to Non-Adjacent Cells

    Hello Master of All Things Excel,
    I recently started a job where I need to import 100s of images into specific boxes in a spreadsheet. It's being done manually right now but, you guessed it, is cripplingly slow and boring. I can reformat the spreadsheets easily enough to make the boxes cells of the correct size, but there needs to be spaces and title placards between the photos. This might be easier to do not in Excel but our evil overlords insist on using Excel for the whole document for other reasons. I've found a few toolsets like KuTools that allow me to import large batches, but these seem to only support putting photos into a range of cells. Does anyone know a solution? Either a toolset that will allow me to import batches of photos into select cells or another solution?

    Thanks in advance.
    -KBeaux
    Attached Files Attached Files
    Last edited by Kbeaux; 11-17-2017 at 08:59 AM. Reason: Adding a sample workbook

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

    Re: Importing Multiple Images to Non-Adjacent Cells

    Attaching a sample workbook enables others to work on your problem:

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and click "manage attachments" to open the upload window.


    To add a file to a post

  3. #3
    Registered User
    Join Date
    11-17-2017
    Location
    Myanmar
    MS-Off Ver
    2016
    Posts
    8

    Re: Importing Multiple Images to Non-Adjacent Cells

    Thanks, added. Major features cannot be changed like the existence of titles, but formatting could be changed the like the squares vs large cells or stuff like that.
    Please let me know if I can add anything else to make this easier.

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

    Re: Importing Multiple Images to Non-Adjacent Cells

    I have changed the workbook slightly, I removed all the shapes and have added code that will insert a picture for you.

    The first step is to get your list of files from the folder of pictures.
    Save your pictures in a separate folder and then copy the folder location to sheet 1 A1
    FileLocation.jpg
    PasteToA1.jpg
    Add "\*" to the end of the file location
    When you have your folder location, click the button and you will get a list of files from that folder.

    The worksheet change event code is located in the sheet module.
    RightClick Sheet Tab.jpg

    It would be a good idea to look at the YouTube clip I made for this located here:Insert Picture From Dropdown

    The worksheet module code:

    Please Login or Register  to view this content.
    Make sure you have the correct folder location in the code:FolderLocation.jpg

    Code to Get the file list:
    Please Login or Register  to view this content.
    Code to delete all the pictures:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by davesexcel; 11-19-2017 at 04:37 PM.

  5. #5
    Registered User
    Join Date
    11-17-2017
    Location
    Myanmar
    MS-Off Ver
    2016
    Posts
    8

    Re: Importing Multiple Images to Non-Adjacent Cells

    Wow that is fantastic! Took me a little time to implement it into all the pages on our actual workbook (about 100 photos),
    but I actually learned a lot along the way about data validation and module coding which is always a plus.
    This is not what I imagined BUT once implemented will not only make things a lot quicker on my end, but also on the end of the photo organizers.
    Pretty sure this is better and easier than I thought it would be.

    Thanks again for your time, you've made a small company that much more efficient!

+ 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. Help with Importing Images Macro for Powerpoint
    By Chriz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2017, 05:09 AM
  2. Inserting multiple images into specific cells
    By IONSASOON in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2017, 04:02 AM
  3. Importing Images
    By YorkChap in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-08-2016, 05:52 PM
  4. Replies: 2
    Last Post: 12-08-2014, 06:04 AM
  5. Importing multiple images to multiple workbooks
    By moler86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2013, 10:42 AM
  6. Importing Images
    By mdm1205 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2011, 04:37 PM
  7. Importing non-standard images into Excel
    By iterature in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2007, 05:29 AM

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