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

Delete Column

UiPath.Excel.Activities.Business.DeleteColumnX

Description

Exclui uma ou mais colunas de uma planilha, tabela ou intervalo em um arquivo do Excel. 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

Para excluir uma única coluna

  • Source - Select Plus on the right side of the field, then, from the menu, select the file and then a sheet, table, or range from which to delete a column, or select Indicate in Excel to indicate a range directly from the file. Alternatively, you can select Custom Input to enter the range manually, or Open in Advanced Editor to enter a VB expression.
  • Has headers - If this option is selected, it indicates that the first row in the defined source range is a header row. When you then indicate the column to delete from the Column name field, the values in the column headers are displayed under Range, enabling you to identify the columns. If this option is not selected, the options displayed under Range are the column letters when the source range is a sheet or a range, or the header row values when the source range is a table.
  • Column name - Select Plus on the right side of the field, then, from the menu, select Range, and then the column to delete. Depending on your selections for Source range and Has headers, the columns are identified by the values in the first row of the selection or the letter of the column.

Para excluir várias colunas

  • Origem - Selecione uma planilha ou um intervalo que contenha as colunas a excluir.

    Observação:

    Não é possível excluir várias colunas em tabelas. Se você selecionar uma tabela como origem e várias colunas para excluir, ocorrerá um erro quando a automação for executada.

  • Tem cabeçalhos - Certifique-se de que essa opção não esteja selecionada.

  • Nome da coluna - Insira as letras das colunas a excluir separadas por dois pontos (:) ou vírgula (,).

    Por exemplo, você pode inserir o seguinte a partir do Construtor de Texto:

    • A:E para excluir as colunas A, B, C, D, E.
    • A,B,E para excluir as colunas A, B, E.

Painel de Propriedades

Comum
  • DisplayName - The name displayed for the activity in the Designer panel.
Entrada
  • Consulte as opções 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.
Opções
  • Tem Cabeçalhos - Consulte Tem Cabelhaços 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