Application.ProductCode Method (Word)

Office 2013 and later

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


This example displays the GUID for Microsoft Word.

MsgBox Application.ProductCode