Autotext watermarks in multi-section documents

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Chris J (cjarman_at_paynehicksbeach.co.uk)
Date: 10/26/04


Date: 26 Oct 2004 11:24:02 -0700

I am having difficulty with automated insertion of watermarks (eg
diagonal DRAFT) from Autotext. The theory seems to be that, by
inserting these in the header, each page of the document will be
watermarked. But this is not working in practice - I either get the
watermark on only some of the pages, or twice on one page
(superimposed) and not elsewhere.

A typical document where the problem arises is laid out as follows:
- Section break between sections 1 and 2 is on page 1 and continuous
(section 1 first page header contains a letterheading), section 1
primary header not visible because section 1 ends on page 1)
- Section 2 primary header is linked to previous (though behaviour
seems unchanged if I unlink it instead); section 2 doesn't have a
separate first page header, but if it did then presumably this too
would not be visible because first page of section 2 also contains
section 1. Section 2 continues to end of document (assume a 4-page
letter).

The essence of the code I am using (in English rather than VBA) says:
- go to section 2
- if there's a different first page header, go to the first page
header of section 2 and insert the autotext (but this is set to be
skipped for a document configured as described above)
- go to the primary header (here still in section 2) and insert the
autotext

If I leave it at that, I get the watermark only on page 1. (If I
don't set it to skip the stage mentioned, I get the watermark imposed
twice on page 1, and still not elsewhere.)

So I added further lines to say go to page 2 (still with section 2
primary header open) and insert the autotext. That gets the autotext
onto page 2 but not pages 3 and 4. If I extend the code to say repeat
for pages 3 and 4 (which should be irrelevant because they are in
section 2 just as page 2 is), the cursor returns (at the Go To line)
to a frame on page 1 (anchored in section 1), and the
autotext/watermark is then superimposed on the page 1 watermark
(actually rather untidily - one impression is not an exact
superimposition). Nothing happens on page 3 or page 4.

Can anyone explain what's going wrong here please? I could post the
extract of code if needed but I thought it would be easier to explain
as above in the first place.

Thanks

Chris J



Relevant Pages

  • Re: Autotext watermarks in multi-section documents
    ... to which the watermark is to be inserted. ... would seem to be a risk that inserting the watermark into every header ... >> diagonal DRAFT) from Autotext. ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Weird watermark behavior in mail merge :-(
    ... graphic behind the text linked to the page, instead of a real watermark ... page" and anchoring a watermark to the Header but not the First Page Header ... the watermark on the landscape page, ... Each subsequent letter should get a new portrait ...
    (microsoft.public.word.drawing.graphics)
  • Re: Weird watermark behavior in mail merge :-(
    ... My suggestion was to DISable "Different first page" in Section 2 and anchor the watermark to the Header rather than the First Page Header. ... the watermark on the landscape page, ... Each subsequent letter should get a new portrait ...
    (microsoft.public.word.drawing.graphics)
  • Re: Weird watermark behavior in mail merge :-(
    ... the watermark to the Header rather than the First Page Header. ... the watermark on the landscape page, ... Each subsequent letter should get a new portrait ...
    (microsoft.public.word.drawing.graphics)
  • Re: Cannot get rid of watermark
    ... Watermarks are always anchored to the header paragraph, ... When you insert section breaks after adding a watermark, ... selecting and deleting the watermark) than to try to cycle through the ... sections with the Format | Background command. ...
    (microsoft.public.word.docmanagement)