Muokkaa

Jaa


COMAddIn.Guid property (Office)

Gets the class identifier (CLSID) for the specified COMAddIn object. Read-only.

Syntax

expression.Guid

expression A variable that represents a COMAddIn object.

Example

The following example displays the ProgID and CLSID for the first COM add-in in the COMAddIns collection in a message box.

MsgBox "My ProgID is " & _ 
 Application.COMAddIns(1).ProgID & _ 
 " and my CLSID 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.