Posted to microsoft.public.word.docmanagement
|
|
how to type non-printable text
Glad I could help.
--
Stefan Blom
Microsoft Word MVP
"Robert JH" wrote in message
...
That worked great. Thank you!
"Stefan Blom" wrote:
You may find it easier to intercept the FilePrint command with a macro
that
updates the tables of contents before printing. That way, users wouldn't
need
any instructions at all.
For example:
Sub FilePrint()
Dim toc As TableOfContents
For Each toc In ActiveDocument.TablesOfContents
toc.Update
Next toc
Dialogs(wdDialogFilePrint).Show
End Sub
Sub FilePrintDefault()
Dim toc As TableOfContents
For Each toc In ActiveDocument.TablesOfContents
toc.Update
Next toc
ActiveDocument.PrintOut
End Sub
Store the macros in an add-in, and install it on each user's machine.
For more, see http://www.gmayor.com/installing_macro.htm.
--
Stefan Blom
Microsoft Word MVP
"Robert JH" wrote:
When printing a Word 2003 document with a Table of Contents, the user
is
prompted, "Word is updating the table of contents. Select one of the
following options." I would like to include a notation in the document
explaining to the user what to do but I do not want the notation to
print out.
|