Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
53 lines (33 loc) · 1.26 KB

table-application-property-publisher.md

File metadata and controls

53 lines (33 loc) · 1.26 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
Table.Application Property (Publisher)
vbapb10.chm4784129
vbapb10.chm4784129
publisher
Publisher.Table.Application
9d808ec1-3f29-c2d4-b685-7acd3c6d0f18
06/08/2017

Table.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 Table 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