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.

Auto Fit Workbook (preview)

Auto Fit Workbook activity that adjusts the width of the columns and the height of the rows in a range to fit their contents.

UiPath.Excel.Activities.AutoFit

Description​

Adjusts the width of the columns and the height of the rows in a range to fit their contents. This is the cross-platform equivalent of the Autofit Range 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 autofit. If you don't specify a range, the whole used range of the sheet is used.

Options​

  • Fit Columns - Select this option to fit the column widths to their contents. By default, this option is selected.
  • Fit Rows - Select this option to fit the row heights to their contents. By default, this option is selected.
  • 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​

  • Column width and row height are properties of the entire column or row. A Range narrower than the sheet only determines which cells are measured. The entire column or row is still resized.
  • A whole-column or whole-row range, such as A:A, is limited to the used range of the sheet when measuring.
  • Range must refer to the sheet in SheetName. A range that includes a sheet name, such as Sheet2!A1:A10, is not supported and causes an error.
  • Description​
  • Compatibilité du projet​
  • Propriétés​
  • Commun​
  • Entrée​
  • Options​
  • Utiliser le classeur​
  • Remarques​

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