Object Model Reference : Classes : D : Document : Properties : Document.Name |
Property Name As String
Member of Document
The Name property returns or specifies the name of the VBA object for the current document. In CorelDRAW, this name is always Thisdocument unless changed by the user.
The following VBA example displays the name of the VBA project in a message box.
Sub DocName() |
MsgBox ActiveDocument.Name |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.