AddIns.Add 方法(PowerPoint)AddIns.Add method (PowerPoint)

會傳回代表增益集檔案新增至清單的增益集的 AddIn 物件。Returns an AddIn object that represents an add-in file added to the list of add-ins.

語法Syntax

運算式AddFileNameexpression.Add (FileName)

_運算式_代表AddIns物件的變數。expression A variable that represents an AddIns object.

參數Parameters

名稱Name 必要/選用Required/Optional 資料類型Data type 描述Description
FileNameFileName 必要Required StringString 檔案的完整名稱 (包括路徑和副檔名),這個檔案包含您想要加入至增益集清單的增益集。The full name of the file (including the path and file name extension) that contains the add-in you want to add to the list of add-ins.

傳回值Return value

AddInAddIn

備註Remarks

此方法不會載入新的增益集。This method doesn't load the new add-in. 您必須設定 load屬性載入增益集You must set the Loaded property to load the add-in.

另請參閱See also

AddIns 物件AddIns Object

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.