Search code examples
excelvbaexcel-2007

How to check if a cell has a picture?


In Excel, I want to check if a specific cell for instance "C12" has a picture?
How could I do this?


Solution

  • You do this by looping through Shapes collection of the worksheet, looking for a shape whose .TopLeftCell has same address as your target range.