FirstView Method

Returns an instance of the Window object that corresponds to the first window in the window collection of the document.

Applies to: Document object

Syntax

[[Set] windowRet =] object.FirstView ()

The FirstView method syntax has these parts:

Part Description
object Required. An expression, that returns a Document object.
windowRet Optional. A Window type variable.

Remarks

Note, that the window collection of the document can include windows of the following types (the Type property): document view, table view, Basic view. It's convenient to use the FirstView method together with the NextView method to go through all windows of the document.

 

See Also

Type property, NextView method, ViewByID method, ViewsNum method, UpdateAllViews method, Window object