Application.ProductCode Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .ProductCode

expression Required. A variable that represents an Application object.

Return Value

String

This example displays the GUID for Microsoft Word.

MsgBox Application.ProductCode
Show: