activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

Get Workbook Sheet

UiPath.Excel.Activities.ExcelGetWorkbookSheet

Looks for a sheet based on its index and returns its name as a String variable.

Properties

Common
  • DisplayName - The display name of the activity.
Input
  • Index - The index of the sheet that you want to retrieve. This field supports only integers and Int32 variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • Sheet - The name of the retrieved sheet. This field supports only strings and String variables.

Example of how to use the Get Workbook Sheet activity

To exemplify how to use this activity, we have built an automation project which retrieves the sheet name of a sheet specified by its index. You can download the example from here.

  • Properties
  • Example of how to use the Get Workbook Sheet activity

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated