Vlookup Bmp

B

briank

I am trying to integrate a vlookup command with a bmp. I have a bmp located
on my c: drive and I want to show this in cell B1. Ideally I want to copy
this formula down several cells as well. Am I close to getting the formula
below to work?

=IF(VLOOKUP(C4, PicTable, 2, FALSE)="State",activesheet.picture.insert
("C:\Documents and Settings\a-brjohn\State.bmp"),"")
 
B

briank

Thank you for the link. Although this web site allow the user to change the
photo based upon a drop down menu I am having trouble figuring out how to
modify the pictures to my own photos as well as figuring out how to copy the
formula down several rows. Any help would be appreciated.
 
D

Dave Peterson

You have to add all your pictures to the worksheet. J.E. shows that in his
instructions.

Then the code hides/shows the pictures.

It works nicely if there's only one picture that should be visible.

You may want to post back with your real requirements if this isn't what you had
in mind.
 
Top