Brand new to this site and I have only dabbled in VBA. What I am working on is trying to skip an insert picture for a part of the code that I put together from different sites (no credit can be taken for the following code). I have a reference number 123 then a picture in a file named 123.jpg, 123_2.jpg, 123_3.jpg. Some may only have 1 or 2 corresponding pictures and my code fails inserting the third. I might need an if statement but not quite sure how to word it. Any thoughts? Thanks in advance.