Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.21 KB

Excel.AddIns2.Add.md

File metadata and controls

39 lines (24 loc) · 1.21 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
AddIns2.Add method (Excel)
vbaxl10.chm867073
vbaxl10.chm867073
Excel.AddIns2.Add
c313e123-9917-f002-bded-cff50085002b
04/03/2019
medium

AddIns2.Add method (Excel)

Adds a new add-in to the list of add-ins.

Syntax

expression.Add (FileName, CopyFile)

expression A variable that returns an AddIns2 object.

Parameters

Name Required/Optional Data type Description
FileName Required String The name of the file that contains the add-in to add to the list in the Add-Ins dialog box.
CopyFile Optional Variant If the add-in file is on a removable medium, specifies whether to copy the add-in to the local hard disk. Specify True to copy the add-in to your hard disk. Specify False to keep the add-in on the removable medium.

If this argument is omitted, Microsoft Excel displays a dialog box and asks the user to choose whether to copy the add-in file. This parameter is ignored if the add-in file is already on the hard disk.

Return value

AddIn

[!includeSupport and feedback]