O
Oli Restorick [MVP]
I've followed Dian Chapman's excellent article (link follows) about creating
automating watermarks in Word. Thanks, Dian!
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=456
Dian's suggestion for removing watermarks is to insert the watermark into
the header so that you can subsequently select and delete the header. Some
of the documents I need to use this solution with have text in the header or
footer, which I don't want to touch.
The current version of my macro inserts two text boxes on page 1 of the
current document and prints the current document. After printing, I want
the macro to delete the two text boxes.
I've been trying to insert the text boxes into a bookmark -- didn't work.
I'm also unsure how I should go about deleting the last two things that were
inserted if they are anything other than ordinary characters. Is ShapeRange
useful here?
The best I have come up with is to issue the Undo command twice. However,
this sometimes seems to delete only one of the text boxes. I want to be
sure I select the right thing every time.
Any ideas?
Thanks
Oli
automating watermarks in Word. Thanks, Dian!
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=456
Dian's suggestion for removing watermarks is to insert the watermark into
the header so that you can subsequently select and delete the header. Some
of the documents I need to use this solution with have text in the header or
footer, which I don't want to touch.
The current version of my macro inserts two text boxes on page 1 of the
current document and prints the current document. After printing, I want
the macro to delete the two text boxes.
I've been trying to insert the text boxes into a bookmark -- didn't work.
I'm also unsure how I should go about deleting the last two things that were
inserted if they are anything other than ordinary characters. Is ShapeRange
useful here?
The best I have come up with is to issue the Undo command twice. However,
this sometimes seems to delete only one of the text boxes. I want to be
sure I select the right thing every time.
Any ideas?
Thanks
Oli