P
Patrick Simonds
I have a template document which has on it a signature block. I have placed
to scanned signature graphics in the signature block and depending on which
option I chose (Self, Spouse) when completing the template, one of the lines
of text below would delete the signature which was not required. Every thing
worked fine until I loaded the latest version of Word 2007 and now the macro
will not delete the signature. Now I get an error which says the item
(picture 3, picture 4) wasn't found.
I assume that Word assigned the name "picture 3" and "picture 4" to the
graphics (and maybe it has now assigned them another name). How do I
determine the name of each graphic? Can I assign each graphic a more
meaningful Name, such as "Wife Signature" "My Signature"
ActiveDocument.Shapes("picture 3").Delete
ActiveDocument.Shapes("picture 4").Delete
to scanned signature graphics in the signature block and depending on which
option I chose (Self, Spouse) when completing the template, one of the lines
of text below would delete the signature which was not required. Every thing
worked fine until I loaded the latest version of Word 2007 and now the macro
will not delete the signature. Now I get an error which says the item
(picture 3, picture 4) wasn't found.
I assume that Word assigned the name "picture 3" and "picture 4" to the
graphics (and maybe it has now assigned them another name). How do I
determine the name of each graphic? Can I assign each graphic a more
meaningful Name, such as "Wife Signature" "My Signature"
ActiveDocument.Shapes("picture 3").Delete
ActiveDocument.Shapes("picture 4").Delete