Object: MGCAddins Collection
Adds an Addin object to the MGCAddins collection.
MGCAddins.Add (ByVal ProgIDorClassID As String,
ByVal InstanceID As String,
ByVal AssociatedScript As String,
[ByVal Location As Variant],
[ByVal ShortCutKey As Variant],
[ByVal GroupName As Variant],
[ByVal Quiet As Variant],
[ByVal TbarMenu As Variant]) As Addin
A string that represents the ProgID or the ClassID of the add-in program.
A string that represents the name of the add-in program instance.
A string that represents the script will be run when the Addin object is loaded.
(Optional) The placement location (PlacementLocation) of the Addin object when loaded.
(Optional) Reserved for future use.
(Optional) A string that represents the group name of the Addin object.
(Optional) Enable or disable errors reporting when loading Addin object.
(Optional) Reserved for future use.
Addin. The object (Addin) to add to the collection.