Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 1.22 KB

ecdd7a8a-9f3b-9cd3-9454-648e0be6f42e.md

File metadata and controls

52 lines (27 loc) · 1.22 KB

BorderArt.Application Property (Publisher)

Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.

Syntax

expression. Application

_expression_A variable that represents a BorderArt object.

Example

This example displays the version and build information for Publisher.

With Application 
 MsgBox "Current Publisher: version " _ 
 & .Version & " build " & .Build 
End With

This example displays the name of the application that created each linked OLE object on page one of the active publication.

Dim shpOle As Shape 
 
For Each shpOle In ActiveDocument.Pages(1).Shapes 
 If shpOle.Type = pbLinkedOLEObject Then 
 MsgBox shpOle.OLEFormat.Application.Name 
 End If 
Next

See also

Concepts

BorderArt Object

Other resources

BorderArt Object Members