ViewAnnotations, ViewAnnotations()

Syntax

ViewAnnotations [On]

ViewAnnotations()

Remarks

The ViewAnnotations statement opens or closes the annotation pane. An error occurs if there are no annotations in the active document.

Argument

Explanation

On

Specifies whether to open or close the annotation pane:

0 (zero) Closes the annotation pane.

1 Opens the annotation pane.

Omitted Toggles the display of the annotation pane.


The ViewAnnotations() function returns the following values.

Value

Explanation

0 (zero)

If the annotation pane is closed

–1

If the annotation pane is open


See Also

InsertAnnotation, ViewEndnoteArea, ViewFootnoteArea, ViewFootnotes