ProductCode Method

Microsoft Word Visual Basic

Returns the Microsoft Word globally unique identifier (GUID) as a String.

expression.ProductCode

expression    Required. An expression that returns an Application object.

Example

This example displays the GUID for Microsoft Word.

MsgBox Application.ProductCode