This documentation is archived and is not being maintained.

ProductCode Property.ProductCode Property

Office 2007
Returns a String indicating the Microsoft Office Publisher globally unique identifier (GUID). Read-only.

Syntax

expression.ProductCode

expression   A variable that represents a ProductCode Property object.

Return Value
String

Example

The following example displays the product code for Publisher.

Visual Basic for Applications
MsgBox "The product code for Microsoft Publisher is " _
    & ProductCode



Show: