activities
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Produktivitätsaktivitäten

Letzte Aktualisierung 11. Nov. 2025

Über das Excel-Aktivitätspaket

The UiPath.Excel.Activities package helps automate all aspects of Microsoft Excel, which is one of the most commonly used tools across industries. It contains activities that allow you to read information from a cell, columns, rows, or ranges, write to other spreadsheets or workbooks, execute macros, and even extract formulas. Moreover, you can sort data, color-code it, or append additional information.

Wichtig: Ab Version 3.0.0 unterstützen wir keine klassischen Aktivitäten mehr in Legacy-Projekten. Sie können klassische Aktivitäten weiterhin in Versionen vor 3.0.0 verwenden. Weitere Informationen finden Sie auf der Seite Anstehende Entfernungen .

Kompatibilität

Hinweis: Das UiPath.Excel.Activities -Paket ist mit den folgenden Microsoft Excel- Versionen kompatibel:
  • 2013
  • 2016
  • 2019
  • 2021
  • 2024
  • Office 365
  • Office 2024

Konfiguration

You can enable the modern experience as explained in Project Settings.

Moderne Aktivitäten

Die unter „ Modern “ gruppierten Aktivitäten sind die neuesten Aktivitäten, die ursprünglich für das StudioX-Profil entwickelt wurden.

The Excel Modern design experience and activities provide the same functionality of the StudioX business activities by default in Studio. Follow the tutorial section to find out more about working with Excel activities in Studio. For a full guide, check the Excel Automation in the StudioX guide.

Studio Modern design experience

A modern design experience is available in the Studio profile starting with Studio v2021.10 and UiPath.Excel.Activities v2.11.0. In the modern experience, the modern activities replace the classic activities in the Studio profile, and the StudioX design experience is brought to Studio.

The modern design experience is enabled by default. You can select the design experience for each project from the Excel activities project settings. When the classic experience is enabled for a project, the classic app integration activities that do not support interacting with Excel from the plus menu are available in the Activities panel in Studio instead of the modern activities.

Tutorial

Add the Use Excel File scope activity to indicate the file to automate and configure its child activities by selecting Excel data from the plus menu of each property without having to manually enter expressions:

  1. Use the folder icon to browse the contents of the file and select data that matches the type of each property. For example, you can select cells, ranges, tables, sheets, or charts from the worksheet. You can also indicate the current row or current sheet in an iteration.

  2. If you find it easier to work in Excel, in the In range field, select the plus menu for more options, then select Excel, and then Indicate in Excel to select data directly from the file.
    Note: This functionality requires that you install the Excel Add-in.


  3. Verwenden Sie die Option Benutzerdefinierte Eingabe , um die Eingabe manuell basierend auf Tabellen-, Diagramm- oder Blattnamen anzugeben oder um Verweise auf eine Zelle oder einen Bereich einzugeben.


If the file you want to automate does not exist yet, you can still use the options in the plus menu by defining a file with the same structure as a template in the Use Excel File activity.

Choosing the most suitable activity type

To decide which type of activity you should use, check the following table.

Note: Modern activities include a wider range of options than classic ones.
AktivitätstypProjektkompatibilitätExcel installation requiredLeistungUser ExperienceBest used when
Use Excel File (Modern) Windows, Cross-platformJaHigh (memory optimized)Visual and guided (Plus menu, Indicate in Excel)Building modern workflows, working across profiles.
Excel Application Scope (Classic) Windows, Windows-legacyJaBest for large or complex user interface tasks.Manual setup requiredAutomating legacy Excel user interface workflows. Classic Excel activities are not suitable for new automations. It is recommended to use modern activities instead.
ArbeitsmappenaktivitätenWindows, Cross-platform, Windows-legacyNeinGood for lightweight headless operations.Simple expression-basedExcel is not installed, or the user interface is not required.

Arbeitsmappenaktivitäten

Workbook activities can be executed even if Microsoft Excel is not installed on the machine and can only read or write data to and from the file.

Sie können die Datei, die in Ihren Aktivitäten verarbeitet werden soll, auf zwei Arten angeben:
  • Geben Sie den Dateipfad in jeder Arbeitsmappenaktivität an. Wenn Sie diese Option verwenden, wird die Datei zur Laufzeit für jede Aktivität, die sie verarbeitet, in den Arbeitsspeicher geladen. Diese Option eignet sich am besten für kleinere Dateien.
  • Connect your Studio project to the Excel file from the Data Manager to add it as a resource, then reference the resource in each Workbook activity by selecting it from the plus menu. Using this option, once the file is loaded, it remains in the memory until all the activities in the defined scope are executed, providing the best runtime performance when working with larger files and a larger number activities. To optimize performance, set the scope to the container closest to where the activities that use the resource are placed in the workflow. For more information, check Using the Data Manager.


Aktivitäten für die App-Integration

Klassische Aktivitäten zur App-Integration erfordern, dass die Excel-App auf der Maschine installiert ist, auf der sie ausgeführt werden. Für große und komplexe Kalkulationstabellen, die sich über eine große Anzahl von Zeilen und Spalten erstrecken, empfehlen wir die Verwendung der Aktivitäten zur App-Integration , da diese Aktivitäten die beste Leistung und Konsistenz bieten.

Alle Aktivitäten zur App-Integration mit Ausnahme von CSV-Aktivitäten müssen im Excel Application Scope enthalten sein, um zu funktionieren. Ab Version 2.10.4 des Excel-Aktivitätspacks können diese Aktivitäten auch in der Aktivität Use Excel File enthalten sein.

Mit dedizierten Aktivitäten können Sie mit .csv-Dateien arbeiten, während alle anderen mit .xlsx und .xls arbeiten. Diejenigen, die nur mit dem Excel Application Scope funktionieren, können auch mit .xlsm-Dateien arbeiten.

Fehlerbehebung und Einschränkungen

Note: The Excel Activities Pack does not support the old Excel Binary File Format (.XLS) specific to Microsoft Excel 95.
  • When you use activities that read, copy, or append ranges, if a cell contains formatting information, Excel considers that cell as containing data, even though it appears empty.
  • The Microsoft Office 2016 version 1708 (Build 8431.2079) changes the window title of files that are being edited and saved from "FileName.xlsx - Excel" to "FileName.xlsx - Saved". After closing the file, the filename reverts to normal.

    Dies kann zu einigen Problemen führen, wenn Ihr Automatisierungsprojekt Selektoren verwendet, die den Fenstertitel enthalten. Der folgende Selektor funktioniert beispielsweise nicht mehr, wenn Ihre Excel-Version die zuvor genannte ist: <wnd app='excel.exe' cls='XLMAIN' title='FileName.xlsx - Excel' /> <wnd cls='EXCEL7' title='FileName.xlsx' />. Um dieses Problem zu vermeiden, empfehlen wir die Verwendung eines dynamischen Variablenselektors.
  • Some Excel versions, for example, Excel 2019, always open SharePoint documents in read-only mode. You can check if a remote document supports editing by opening it manually in Excel on your local machine.

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo
Vertrauen und Sicherheit
© 2005–2025 UiPath. Alle Rechte vorbehalten