Application.ProductCode Property (Excel)

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 globally unique identifier (GUID) for Microsoft Excel. Read-only String.

expression .ProductCode

expression A variable that represents an Application object.

This example displays the globally unique identifier (GUID) for Microsoft Excel.

MsgBox Application.ProductCode
Show: