Protect for Annotations Causes Fields to Revise Continuously

ID: Q118318

6.00 6.00a WINDOWS kbusage buglist6.00 buglist6.00a

The information in this article applies to:

SYMPTOMS

When you work on a document that is protected for annotations and that contains field codes (specifically the following fields: PAGE, SEQ, STYLEREF, INDEX (single column), TOC, and DATE), the following symptoms will appear:

This behavior is most noticeable in larger documents when you switch to, or work in, print preview or page layout view. In both page layout and normal views, the status bar may indicate the page numbers incrementing as the document is repaginated.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUNDS

Method 1: a. From the Tools menu, choose Unprotect Document.

          b. Enter the password and choose OK. Edit the document.

Method 2: Use the following macro to unprotect the document, allow the user
          to give the password, print the document, and protect it again
          for annotations.

          ToolsUnprotectDocument
          FilePrint
          ToolsProtectDocument .DocumentPassword = "test", .NoReset = 0,
          .Type = 1

          WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS
          AT YOUR OWN RISK. Microsoft provides this macro code "as is"
          without warranty of any kind, either express or implied,
          including but not limited to the implied warranties of
          merchantability and/or fitness for a particular purpose.

Method 3: Unlink the fields before protecting the document. The drawback to
          this is that once the fields are unlinked, they become normal
          text and they can no longer be updated.

KBCategory: kbusage buglist6.00 buglist6.00a kbui KBSubcategory: Additional reference words: 6.00 6.00a annotation annotations protect winword unprotect page number duplicate digits print fields update revise revised revision marks strikethrough underline underlined protected seq word6 page styleref index toc table of contents date
Version           : 6.00 6.00a
Platform          : WINDOWS

Last Reviewed: February 5, 1998