Hi John,
Thanks for your response. I am creating a macro to import pictures into Filemaker. Filemaker has nearly 50k records. A script was created and set as a button to import the picture. So, the macro basically clicks that button, it browses the directory where the pictures are located and copy the destination and clicks ok, then it moves to the next record and loops again. However, some records, there are no pictures, so an error screen will pop up when that is the case. I would like it to pause so I can cancel out of that error screen and move onto the next record. Hopefully, I'm explaining this clearly. Thanks for any help you or others could provide.