+ Reply to Thread
Results 1 to 3 of 3

Display Images in Cells

  1. #1
    Registered User
    Join Date
    01-23-2008
    Posts
    1

    Question Display Images in Cells

    Hello all,

    I am exporting text from another program into excel. Assume I can put any text into a cell. I have the file paths of images that I want to show on my worksheet in certain cells. Is there any combination of text that I can input into a cell that will actually display these images?

    The simpler the solution, the better.

    Thank you,
    Steve

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,234
    Hello Steve,

    Welcome to the Forum!

    There is no built in worksheet function to do this. I have created a UDF (User Defined Function) that will take a picture (bmp, gif, or jpg format) from file,and place into a cell as a comment. This hides the picture until the the mouse enters the cell. This frees the cell up for other use.

    Please Login or Register  to view this content.
    To Install the Macro:
    1. Copy the Macro code above using CTRL+C
    2. Open Excel and Right Click on any Sheet Tab
    3. Click on View Code in the pop up menu
    4. Use ALT+I to activate the VBE Insert Menu
    5. Press the letter m to insert a Standard Module
    6. Paste the macro code using CTRL+V
    7. Save the macro using CTRL+S
    8. Close the VBE and return to excel using ALT+Q

    UDF Example
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Cheeky Forum Moderator Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016
    Posts
    6,969

    Display Images in Cells

    See if the ShowFilePicsDemo file, available at the below link, gives you any ideas:
    http://www.contextures.com/excelfiles.html#CH0003

    It reads pictures from network and web folders into an Excel worksheet.

    Does that help?
    Ron
    Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ Reply to 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