Share via


Application.ProductCode Method

Word Developer Reference

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

Syntax

expression.ProductCode

expression   Required. A variable that represents an Application object.

Return Value
String

Example

This example displays the GUID for Microsoft Word.

Visual Basic for Applications
  MsgBox Application.ProductCode

See Also