robot
2024.10
true
Admin Guide
Last updated 2024年10月21日

适用于 Excel 的 UiPath Assistant 加载项

适用于 Excel 的 UiPath Assistant 加载项允许您在原生 Excel 应用程序中使用 UiPath Assistant 功能。这提供了一种无需在应用程序之间切换即可运行、管理和配置 Excel 特定自动化的简便方法。

docs image

先决条件

  • UiPath Assistant 2023.4.2 或更高版本已连接到具有 Attended 许可证的 Orchestrator。
  • At least one automation with the excelAddin tag or created with the "UiPath Assistant for Excel Process" Studio Template.
  • Microsoft Excel 2016 或更高版本,或者 Microsoft 365 Excel Online。
注意:在在线版 Excel 中使用适用于 Excel 的 UiPath Assistant 加载项时,这些加载项目前不支持 MacOS 或非基于 Chromium 的浏览器上的 Excel。

安装加载项

可以直接通过 Microsoft Store 安装适用于 Excel 的 UiPath Assistant 加载项,也可以使用清单文件将其手动添加到您的计算机上,或者将其部署到环境中的多台计算机上。

重要提示:Microsoft 商店始终提供适用于 Excel 的 UiPath Assistant 加载项的最新版本,这可能会破坏与旧版 UiPath Assistant 的兼容性。因此,专门建议社区版用户安装 Microsoft 商店提供的加载项。对于企业版用户,我们建议使用清单文件部署加载项,以确保兼容性。

使用清单文件

在 Excel 桌面版中

如要启用加载项,需使用名为“侧加载”流程的清单文件。为此,请按照以下步骤操作:
  1. Customer Portal 的“产品下载”部分下载清单文件。
  2. 按照有关本主题的 Microsoft 文档中描述的步骤进行操作。
  3. 在 Excel 中,前往“插入”选项卡,单击“我的加载项”,选择“共享文件夹”,单击“UiPath”图块,然后选择“添加”。Microsoft Excel 工具栏中会出现一个名为 UiPath 的新选项卡。
  4. 选择 UiPath 选项卡 -> 查找自动化,查看适用于 Excel 的 UiPath Assistant 加载项。

在 Excel 在线版中

  1. 在在线版 Excel 中,打开电子表格,然后转到“插入”选项卡。
  2. 单击“加载项”>“我的加载项”。
  3. 单击“上传我的加载项”,然后浏览到清单文件。

管理员部署

  1. Customer Portal 的“产品下载”部分下载清单文件。
  2. 在 Cloud 部署环境中,可以使用 Microsoft 365 管理中心向组织部署加载项。阅读有关使用集成应用程序集中部署的更多信息。
注意:首次加载加载项时,将使用可用的最新版本。创建与 UiPath Assistant 的连接后,加载项版本将与 UiPath Assistant 版本同步。

来自 Microsoft Store

  1. 访问此链接并选择“立即获取”。

备注:

您需要登录 Microsoft Store 才能完成下载。

或者,您可以直接从 Excel 应用程序的“获取加载项”部分添加适用于 Excel 的 UiPath Assistant 加载项。
为此,请按照以下步骤操作:
  1. 在 Microsoft Excel(桌面版和在线版)中,打开电子表格,然后转到“插入”选项卡。
  2. 单击“获取加载项”,在搜索框中输入 WA200005457 ID,然后单击“添加”。

登录

当你首次打开适用于 Excel 的 UiPath Assistant 加载项时,如果 UiPath Assistant 未运行,系统会提示你启动它。

If you are not logged in the UiPath Assistant, or if no automations are available, make sure you are connected to Orchestrator with a valid attended license, and you have at least one automation that has the excelAddin tag deployed for your account.

使用模板创建自动化

To create an automation for the UiPath Assistant for Excel, use the dedicated Studio template with the same name. This template features the excelAddin tag and two input arguments (in_FilePath and in_Selection) that populate at runtime, making it easier to pass data between Excel and the automation. Since these automations have the excelAddin tag, they are automatically added to the UiPath Assistant for Excel add-in once published.
您也可以创建自己的自动化,确保为这些自动化加上 excelAddin 标签。要从这些输入参数中的任何一个中受益,需要在工作流中进行创建/使用。
当为加载项创建的自动化中存在 in_FilePathin_Selection 输入参数时,系统会自动按如下方式填充:
  • in_FilePath (String) - represents the file path from which the add-in is starts the process.
  • in_Selection (String) - represents the cell/cells selected when the process is starting.
The in_Selection variable uses the [Sheet]![Range] schema, meaning that if you need to use different selections for different sheets, you can create separate variables to be used as values for each sheet or range.
注意:如果需要更多选择,请创建其他输入参数、新的范围变量和新的工作表变量(前提是您的选择来自其他工作表)。之后,您可以将解析 Excel 选择工作流拖放到主序列中,然后导入新创建的参数和变量。
  • 先决条件
  • 安装加载项
  • 使用清单文件
  • 来自 Microsoft Store
  • 登录
  • 使用模板创建自动化

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。