This topic has not yet been rated - Rate this topic

LegendKey.Application Property

Office 2007
When used without an object qualifier, returns an Application object that represents the Microsoft Word application. When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an Automation object to return the application of that object). Read-only.

Version Information
 Version Added:  Word 2007

Syntax

expression.Application

expression   A variable that represents a LegendKey object.

Example

The following example displays a message about the application that created myObject.

Visual Basic for Applications
Set myObject = ActiveDocument
If myObject.Application.Value = "Microsoft Word" Then
    MsgBox "This is a Word Application object."
Else
    MsgBox "This is not a Word Application object."
End If



Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.