COMAddIn.ProgId property (Office)

Gets the programmatic identifier (ProgID) for the specified COMAddIn object. Read-only.

Syntax

expression.ProgId

expression A variable that represents a COMAddIn object.

Example

The following example displays the ProgID and GUID for COM add-in one in a message box.

MsgBox "My ProgID is " & _ 
 Application.COMAddIns(1).ProgID & _ 
 " and my GUID is " & _ 
 Application.COMAddIns(1).Guid

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.