UiPath Documentation
activities
latest
false
Activités de productivité
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Insert Rows Workbook (preview)

Insert Rows Workbook activity that inserts one or more rows into a sheet or range at a specified position.

UiPath.Excel.Activities.InsertRows

Description​

Inserts one or more rows into a sheet or range at a specified position. This is the cross-platform equivalent of the Insert Rows Windows activity.

Remarque :

This activity does not support .xls files.

Compatibilité du projet​

Windows | Multiplate-forme

Propriétés​

Commun​

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

Entrée​

  • Fichier - Chemin complet du classeur de ressources. Pour passer à un chemin local, sélectionnez l’icône plus, puis Utiliser le fichier local. Le champ actuel est remplacé par Fichier (chemin local), où vous pouvez fournir le chemin complet du classeur.
  • NomFeuille : le nom de la feuille du classeur.
  • Range - The range to insert rows into. If you don't specify a range, the used range of the sheet is used.
  • Number Of Rows - The number of rows to insert. The value must be greater than zero. The default value is 1.
  • Position - Select where to insert the new rows. The default value is End. You can choose from the following options:
    • Start - Inserts the rows at the beginning of the range.
    • End - Inserts the rows immediately after the last row of the range.
    • Specific index - Inserts the rows at the row index in Specific Row Index.
  • Specific Row Index - The 1-based row index, relative to the start of the range, at which to insert the rows. This field is required, and displayed, only when Position is Specific index. If you bind Position to a variable or an expression, the field is always displayed. The value must be at least 1 and not beyond the last row of the range, otherwise the activity fails and nothing is inserted.

Options​

  • Has Headers - Select this option if the first row of the range is a header row. The header row stays on top, so the rows that you insert at the start go below it. By default, this option is not selected.

    Remarque :

    Unlike in the Windows Insert Rows activity, Has Headers is not selected by default. When it is not selected, Start inserts the rows at the very first row of the range.

  • Mot de passe : le mot de passe du classeur, si nécessaire.

Utiliser le classeur​

  • Workbook - The existing workbook to use instead of a file path.

Remarques​

  • The existing rows at and below the insertion point shift down.
  • If you don't specify a range, entire sheet rows are inserted, relative to the used range of the sheet. If you specify a range, only the cells in the columns of the range shift down, as in the Windows activity. The cells below the range in those columns move down, and the other columns are not changed.
  • Start and Specific index positions are counted from the first row of the range, below the header row when Has Headers is selected.

Limites connues​

Inserting rows into a table is not supported yet.

  • Description​
  • Compatibilité du projet​
  • Propriétés​
  • Commun​
  • Entrée​
  • Options​
  • Utiliser le classeur​
  • Remarques​
  • Limites connues​

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour