Thanks for the quick reply.
I have to produce 200 letters each with a different signature and save each letter to its own PDF file.
There are 2 pictures in the letter. The first is the company logo; the second is a signature. My macro inserts the signature and saves the letter to the PDF file correctly.
I want to delete the signature after the the letter is saved to the PDF file. Deleting the signature is my problem. The following code is not working:
ActiveWorkbook.Worksheets("CovLtrQuarterly").Activate
ActiveSheet.Pictures(ActiveSheet.Pictures.Count).Delete
The second statement produces a run-time error 1004
Delete method of Picture class failed.
Earlier today I tried ActiveSheet.Shapes(1).Delete - it deletes the company logo.
Any help would be greatly appreciated.