+ Reply to Thread
Results 1 to 7 of 7

Can you fill a cell with an image?

  1. #1
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Can you fill a cell with an image?

    is there a way to simply fill a cell with an image, rather than a colour?

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Can you fill a cell with an image?

    Techically, images sit on cells...not in them.
    You'd need to position the image so it fits withing the cell borders.

    If that's something you'd consider, let us know your requirements.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can you fill a cell with an image?

    complicated really.

    I have 4 objects (rectangles) located on the left hand side of the sheet. I also have one big object (rectangle) on the right hand side of the sheet.

    Basically, what I want to do is have 4 different images in the 4 objects on the left... and when the mouse hovers over them I want an image to appear in the big object on the right which corresponds to the image I am hovering over on the left object. so it changes every time.

    and I need all this to happen, without clicking.

    now I can do a rollover hyperlink effect on CELLS using just formulas.. but with shapes this obviously doesn't work.


    can I code this??

  4. #4
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can you fill a cell with an image?

    any ideas? is this even possible?

    or to be simpler (or more complicated I don't know) ...if I could make a shape change fill image when a cell changes value - that would work toO!

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Can you fill a cell with an image?

    ...if I could make a shape change fill image when a cell changes value -
    If the cell value is changed by data entry, sure -- you could do whatever you want in the Worksheet Change event.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can you fill a cell with an image?

    can you please enlighten me then? if I had rectangle 1. and data in a1. what code what I need to make the fill of the shape change to a image and back when the a1 changes from 0 to 1 and back. without clicking

  7. #7
    Forum Contributor
    Join Date
    04-09-2014
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Can you fill a cell with an image?

    any example codes?

+ 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. VBA to tell shape to fill with image when a certain cell = 1
    By Muzza86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2014, 05:00 AM
  2. need the fill of a shape to change to a image
    By Muzza86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2014, 05:02 AM
  3. [SOLVED] VBA to transfer image FROM userform image control TO a worksheet cell
    By Zoediak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2014, 02:51 PM
  4. [SOLVED] Linking Image to a cell value, and display the selected image in new sheet
    By siva venkata in forum Excel General
    Replies: 12
    Last Post: 03-25-2014, 02:34 AM
  5. Placing image in cell, but selecting cell (not image) when clicked
    By rollingdice17 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-16-2013, 11:15 PM

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