ProductCode Method

Microsoft Word Visual Basic

ProductCode Method

       

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