Application.ProductCode Property

PowerPoint Developer Reference

Returns the Microsoft Office PowerPoint globally unique identifier (GUID). Read-only.

Syntax

expression.ProductCode

expression   A variable that represents a Application object.

Return Value
String

Remarks

You might use the GUID, for example, when making program calls to an Application Programming Interface (API).

Example

This example returns the PowerPoint GUID to the variable pptGUID.

Visual Basic for Applications
  Dim pptGUID As String
pptGUID = Application.ProductCode

See Also