M
Marco
Hello,
I created a command button to automatically update my table of contents in
my word document using the following code:
Private Sub CommandButton1_Click()
ActiveDocument.TablesOfContents(1).Update
End Sub
The button is placed at the end of the document. When I go to print the
final document the button also prints out so I have an "update TOC" button in
my final printed document.
Is there a command button property that makes it so the button doesn't print
out when you print the document?
I created a command button to automatically update my table of contents in
my word document using the following code:
Private Sub CommandButton1_Click()
ActiveDocument.TablesOfContents(1).Update
End Sub
The button is placed at the end of the document. When I go to print the
final document the button also prints out so I have an "update TOC" button in
my final printed document.
Is there a command button property that makes it so the button doesn't print
out when you print the document?