activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
UiPath logo, featuring letters U and I in white

Actividades de productividad

Última actualización 11 de nov. de 2025

Acerca del paquete de actividades de Excel

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.

Importante: Ya no admitimos actividades clásicas en proyectos heredados a partir de la versión 3.0.0. Puedes seguir utilizando actividades clásicas en versiones anteriores a la 3.0.0. Para obtener más información, consulta la página Próximas eliminaciones .

Compatibilidad

Nota: El paquete UiPath.Excel.Activities es compatible con las siguientes versiones de Microsoft Excel :
  • 2013
  • 2016
  • 2019
  • 2021
  • 2024
  • Office 365
  • Office 2024

Configuración

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

Actividades modernas

Las actividades agrupadas en Moderno son las actividades más nuevas que se diseñaron inicialmente para el perfil StudioX.

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. Usa la opción Entrada personalizada para especificar manualmente la entrada según los nombres de tabla, gráfico o hoja o para introducir referencias a una celda o un rango.


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.
Tipo de actividadCompatibilidad de proyectosExcel installation requiredRendimientoExperiencia del usuarioBest used when
Use Excel File (Modern) Windows, Cross-platformHigh (memory optimized)Visual and guided (Plus menu, Indicate in Excel)Building modern workflows, working across profiles.
Excel Application Scope (Classic) Windows, Windows-legacyBest 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.
Actividades de libro de trabajoWindows, Cross-platform, Windows-legacyNoGood for lightweight headless operations.Simple expression-basedExcel is not installed, or the user interface is not required.

Actividades de libro de trabajo

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.

Puedes indicar el archivo que se procesará en tus actividades de una de dos maneras:
  • Proporciona la ruta del archivo en cada actividad de libro. Al utilizar esta opción, el archivo se carga en la memoria en el runtime de cada actividad que lo procesa. Esta opción es la más adecuada para los archivos más pequeños.
  • 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.


Actividades de integración de aplicaciones

Las actividades de integración de aplicaciones clásicas requieren que la aplicación de Excel se instale en la máquina en la que se ejecutan. Para hojas de cálculo grandes y complejas que abarcan un gran número de filas y columnas, recomendamos utilizar las actividades de Integración de aplicaciones , ya que ofrecen el mejor rendimiento y coherencia.

Todas las actividades de integración de aplicaciones con la excepción de las actividades CSV deben estar incluidas en el ámbito de aplicación de Excel para que funcionen. A partir de la versión 2.10.4 del paquete de actividades de Excel, estas actividades también se pueden incluir en la actividad Usar archivo de Excel .

Las actividades dedicadas permiten trabajar con archivos .csv, mientras que todas las demás trabajan con .xlsx y .xls. Las que solo funcionan con el ámbito de aplicación de Excel también pueden funcionar con archivos .xlsm.

Solución de problemas y limitaciones

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.

    Esto puede causar algunos problemas si su proyecto de automatización utiliza selectores que contienen el título de la ventana. Por ejemplo, el siguiente selector ya no funciona si tu versión de Excel es la mencionada anteriormente: <wnd app='excel.exe' cls='XLMAIN' title='FileName.xlsx - Excel' /> <wnd cls='EXCEL7' title='FileName.xlsx' />. Para evitar este problema, recomendamos utilizar un selector de variables dinámicas.
  • 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.

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo
Confianza y seguridad
© 2005-2025 UiPath. Todos los derechos reservados.