Previous Document Next Document

Object Model Reference : Classes : D : Document : Properties : Document.Name


Document.Name

Property Name As String

Description

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.

VBA example

The following VBA example displays the name of the VBA project in a message box.

Sub DocName()
 MsgBox ActiveDocument.Name
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.