IntelliCAD 11.1 Object Library | |
ActiveDocument Property | |
See Also |
Application Object : ActiveDocument Property |
Description
Returns the active document object.
Property type
Read-write property
Syntax
Visual Basic |
---|
Public Property ActiveDocument As Document |
Return Type
This example shows how to return the name of the active document.
Example
This example shows how to return the name of the active document.
Private Sub ActiveDocPropExample()
Dim activeDoc As Document
Set activeDoc = Application.ActiveDocument
MsgBox "The active document is: " & activeDoc.Name, vbInformation, "ActiveDocument Example"
End Sub