Hidden, Hidden()

Syntax

Hidden [On]

Hidden()

Remarks

The Hidden statement adds or removes the hidden character format for the current selection, or controls hidden formatting for characters to be inserted at the insertion point. You can control the display of hidden text with the Hidden Text check box, an option on the View tab in the Options dialog box (Tools menu).

Argument

Explanation

On

Specifies whether to add or remove the hidden format:

1 Adds the hidden format.

0 (zero) Removes the hidden format.

Omitted Toggles the hidden format.


The Hidden() function returns the following values.

Value

Explanation

0 (zero)

If none of the selection is formatted as hidden

–1

If part of the selection is formatted as hidden

1

If all the selection is formatted as hidden


See Also

FormatFont