Stat property
Returns status information for an object.
Version added
3.0
Syntax
| |
intRet |
Integer. A bit mask of status bits. |
object |
Required. An expression that returns an object in the Applies to list. |
Remarks
If an object is a reference to an entity in a document, and if that document closes, the Stat property returns a value in which the visStatClosed bit is set.
If an object is a reference to an entity that has been deleted, the Stat property returns a value in which the visStatDeleted bit is set.
A Component Object Model (COM) object, such as a Visio document object, lives as long as it is held (pointed to) by a client, even if the object is logically in a deleted or closed state.