Update Method

Microsoft Office Visual Basic

Updates the contents of the COMAddIns collection from the list of add-ins stored in the Windows registry.

expression.Update

expression    The COMAddIns collection.

Remarks

Before you can use a given COM add-in in a Microsoft Office application, that add-in must be registered in the Windows registry as a COM component with a corresponding Component Category ID. Normally the setup program for a COM add-in will add the necessary entries to the registry.

Example

The following example updates the contents of the COMAddIns collection from the list of add-ins stored in the Windows registry.

Application.COMAddIns.Update