0

I think it's too easy, but I'm just new in visual basic and I'm having problems solving this.

If a1 => 1 then in b1 show green.jpg

If a1 = 0 then in b1 show red.jpg

Image.FromFile, LoadPicture? How do I reference it in cell b1?

Miles Fett
  • 711
  • 4
  • 17
Cdcvb
  • 1
  • `Image.FromFile, LoadPicture?` - [`Pictures.Insert`](https://stackoverflow.com/a/6312837/11683) – GSerg Dec 01 '19 at 00:47
  • thanks. I read that before, by for now its not simple enought for me – Cdcvb Dec 01 '19 at 00:52
  • 2
    Does this answer your question? [How to insert a picture into Excel at a specified cell position with VBA](https://stackoverflow.com/questions/12936646/how-to-insert-a-picture-into-excel-at-a-specified-cell-position-with-vba) – June7 Dec 01 '19 at 05:36
  • I know how to insert the image, the thing i need it's the control to change between two images (in b1 cell) depending on result on (a1 cell). – Cdcvb Dec 01 '19 at 13:35

0 Answers0