I saw a great post/example of dynamically changing an image to create impressive legends, notes, etc.
I am trying to figure out how to do it and have googled and read several sites. No luck.
From what I understand, I need to:
1. Add the (alternative) images to my sheet
2. Make sure the images are fully contained inside of their respective cells
3. Name the Cells (and as a result, the image)
4. Add a formula to a cell that results in one of the pictures
5. Define a new name (i.e. "picture") that refers to this cell
6. Insert one of the images into the cell that you want to dynamically change. (from what I read, it doesn't matter which image I select)
7. select the image and change the formula bar to: "=picture"
I get stuck on #7. For some reason, when I select the image, I cannot change anything in the formula bar. It is unaccessible.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Yes, but it seems like I don't have to use as much VBA. It may be true that I need to (and that's fine), but take a look at the attached, where I don't think VBA is used to change the picture. grammy-bump-2007.xlsm
SiddharthRout
No, VBA is not used here. IF you unhide the columns A - G, then you will see that image is generated.
Sid
BBlu
ASKER
I'm not following. I have unhidden those columns and see that they are where most of the work for the graph is being done. It's also where the lookups for the data for each year are being performed. I still don't see where the image manipulation happens there. As I understand, the image in the text box has the formula "=imgArtist", which is a named range with the formula: =OFFSET('Artist Pics'!$C$2,'Grammy Bump Chart'!$F$23,,1,1).
I think I understand how it's working, but I can't replicate the addition of the formula (=imgArtis) that is attached to the image.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
So, it seems like the mistake I was making was inserting one of the photos again, instead of copying and pasting as picture link. I got that from steps 12-14 at this tutorial: