+ Reply to Thread
Results 1 to 4 of 4

How to make a picture appear depending on what a cell says

  1. #1
    Registered User
    Join Date
    10-03-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    76

    How to make a picture appear depending on what a cell says

    Okay so currently im using this formula =INDIRECT("'"&A16&"'!G25")

    If A16 says Sheet1 then the cell which has the above code will put what G25 says in sheet1. And if i write sheet2 in cell A16 then the cell which i put the above code will display the data in cell G25 from sheet2.

    I want to do the same except for a picture. So if i type Sheet 1 in cell A16 a picture from sheet 1 will be shown. but if i type sheet 2 in cell a16 then a pciture from sheet 2 will show.

    Any possible way to do this?

  2. #2
    Forum Contributor
    Join Date
    01-08-2016
    Location
    Cagayan De Oro City, Philippines
    MS-Off Ver
    2013
    Posts
    152

    Re: How to make a picture appear depending on what a cell says

    i doubt you can do it using formula but here is some VBA that might help you achieve this, it will need adapting to you needs but its working as a concept.......just message back and someone can help you integrate it if you need help

    Please Login or Register  to view this content.

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,367

    Re: How to make a picture appear depending on what a cell says

    Use Image-Control and LoadPicture. Much simpler and more universal since not everyone already works with XL2013
    Last edited by bakerman2; 04-10-2016 at 07:54 AM.

  4. #4
    Forum Contributor
    Join Date
    01-08-2016
    Location
    Cagayan De Oro City, Philippines
    MS-Off Ver
    2013
    Posts
    152

    Re: How to make a picture appear depending on what a cell says

    @Bakerman2, nice point i didnt realize it wasnt available until 2013, however wouldnt it be better using the 'Sheet.Pictures' instead of relying on objects? excel never seems to handle Ole Objects very reliably or efficiently...

+ 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. I need a cell to make a picture pop-up
    By AeroTheManiac in forum Excel General
    Replies: 2
    Last Post: 01-17-2014, 03:32 PM
  2. Macro to Insert Picture depending on cell detail
    By lewhardy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2014, 11:56 AM
  3. [SOLVED] Hide/Unhide picture depending on what's in a cell
    By r5swank in forum Excel General
    Replies: 1
    Last Post: 05-29-2012, 04:52 PM
  4. Link picture to a server path depending on a cell reference
    By Kraecki in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2011, 08:49 AM
  5. Replies: 16
    Last Post: 03-09-2011, 12:27 PM
  6. Replies: 3
    Last Post: 06-03-2009, 10:59 AM
  7. How do I make a picture stay inside a cell?
    By Davdi Keltner in forum Excel General
    Replies: 2
    Last Post: 10-07-2005, 03:19 PM
  8. how to make a picture pop-up when selecting a cell?
    By tendercare in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 09-06-2005, 08:05 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