UiPath Documentation
activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Atividades de produtividade

Find/Replace Value

UiPath.Excel.Activities.Business.FindReplaceValueX

Description

Pesquisa um determinado valor em um intervalo especificado e retorna o endereço da célula em que ele foi encontrado ou substitui o valor por outro valor determinado. A atividade pode ser usada com um arquivo Excel selecionado para uma atividade Use Excel File pai ou com o Project Notebook.

Configurando a atividade

Painel do Designer

  • 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:

    • Dados do Notebook do projeto, um arquivo do Excel pai ou conta de e-mail. Por exemplo, selecione um arquivo do Excel e, então, selecione Indicar no Excel para indicar uma célula do arquivo ou selecione um email no Outlook e, então, selecione um campo no email que contém o valor a ser pesquisado.
    • 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.
    • Perguntar quando executar — solicite um valor quando o projeto é executado.
    • 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.
    • Perguntar quando executar — solicite um valor quando o projeto é executado.
    • 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.

Painel de Propriedades

Comum
  • 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.
  • Operação — consulte Operação no corpo da atividade.
  • Substituir por — consulte Substituir por no corpo da atividade.
  • Valor a encontrar — consulte Valor a encontrar no corpo da atividade.
  • Onde pesquisar — consulte Onde pesquisar no corpo da atividade.
Diversos
  • Particular — se selecionada, os valores de variáveis e argumentos não são mais registrados no nível Verbose.
Saída
  • Fonte em - Consulte Encontrado em no corpo da atividade.
  • Description
  • Configurando a atividade
  • Painel do Designer
  • Painel de Propriedades

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades