Index Property [Document, AutoWindow]

The Index property returns the 1-based index of this window in the application AutoWindows collection (Window) or Index returns this document's ordinal index in the Documents collection (Document). Returns a Long.

Syntax

object.Index

object.Index =Index

Example

This example demonstrates how to return the index number of a window.

Debug.Print Plot.Index

 

Used by: Document object, AutoWindow object