UiPath Documentation
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.

Actividades de productividad

Buscar/Reemplazar valor

UiPath.Excel.Activities.Business.FindReplaceValueX

Busca un valor determinado en un rango especificado y devuelve la dirección de la celda donde se encuentra o reemplaza el valor por otro valor dado. La actividad se puede utilizar con un archivo de Excel seleccionado para una actividad principal de Usar archivo de Excel o con el Cuaderno del proyecto.

Configurar la actividad

En el cuerpo de la actividad
  • Operation - Select an operation between Find, Replace, and Replace all. Depending on the chosen operation, different fields are displayed in the activity.

  • Where to search - Select Plus on the right side of the field and then, from the menu, select an Excel file, and then a sheet, table, or range where to search for the data, or select Indicate in Excel to indicate a range directly from the file. Alternatively, you can select Custom Input to enter a sheet name, table name, or range manually, or Open in Advanced Editor to enter a VB expression.

  • Value to find - Select Plus on the right side of the field, and then, from the menu, select what to look for using one of the available options:

    • Datos desde el Manual del proyecto, un archivo de Excel principal o una cuenta de correo electrónico. Por ejemplo, selecciona un archivo de Excel y luego selecciona Indicar en Excel para indicar una celda del archivo, o selecciona un correo electrónico en Outlook y luego selecciona un campo del correo electrónico que contenga el valor a buscar.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Text - Enter the value using the Text Builder.
    • Number - Enter a numeric value.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
    • Preguntar al ejecutar: solicita un valor cuando se ejecuta el proyecto.
    • Open in Advanced Editor - Enter a VB expression.
  • Replace with - Value to replace with. Select Plus on the right side of the field, and then, from the menu, select the a value using one of the available options:

    • Data from the Project Notebook, a parent Excel file or email account. For example, select an Excel file, and then select Indicate in Excel to indicate a cell from the file, or select an email in Outlook and then select a field in the email that contains the value to replace with.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Text - Enter the value using the Text Builder.
    • Number - Enter a numeric value.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project.
    • Preguntar al ejecutar: solicita un valor cuando se ejecuta el proyecto.
    • Open in Advanced Editor - Enter a VB expression.
  • Found at - Location where the value was found when using the Find or Replace operations, no value is returned when using the Replace all operation. Select Plus on the right side of the field and then, from the menu, select where to save the result:

    • Select an Excel file and then a named cell, or select Indicate in Excel to indicate a cell from the file.
    • Save for Later Use - Save the result for later use in your project as input for another activity.
    • Copy to clipboard - Save the resulting value to clipboard.
    • Open in Advanced Editor - Enter a VB expression.
Panel de propiedades

Común

  • DisplayName - The name displayed for the activity in the Designer panel.

Entrada

  • Look in - Specify whether to perform the search in Values or Formulas.
  • Match case - If selected, searches for case-sensitive data.
  • Match entire cell contents - If selected, searches for cells that contain just the characters that were entered into the Value to find field.
  • Operación : consulta Operación en el cuerpo de la actividad.
  • Reemplazar por : consulta Reemplazar por en el cuerpo de la actividad.
  • Valor a encontrar : consulta Valor a encontrar en el cuerpo de la actividad.
  • Dónde buscar : consulta Dónde buscar en el cuerpo de la actividad.

Otros

  • Privado : si se selecciona, los valores de las variables y los argumentos ya no se registran en el nivel Detallado.

Salida

  • Fuente en : consulta Encontrado en en el cuerpo de la actividad.
  • Configurar la actividad

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado