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

Productivity Activities

Last updated Jan 13, 2025

Rename Sheet

UiPath.MicrosoftOffice365.Activities.Excel.RenameSheetConnections

Description

Renames a sheet from the specified Excel workbook.

Scopes

This activity requires the following scopes:

  • Files.ReadWrite

OR

  • Files.ReadWrite.All

OR

  • Sites.ReadWrite.All

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft OneDrive & SharePoint connection - The connection for the Microsoft 365 account to use in the activity.
  • Workbook - The Excel workbook to use. The method to specify the folder to be retrieved: Folder picker, Enter Id, Enter Url.
    • File/Folder picker option: Click the Folder docs image icon to browse the OneDrive or SharePoint files/folders and select a spreadsheet. This option accepts input as IResource.
      • Use the See more button menu to use a variable or select the Reload Folder Data option if you've modified your folders and need to retrieve the latest data.

    • Enter Id option:

    • Enter Url option:

      • Workbook Url - The URL of the workbook of interest. This field supports String type input. Retrieve the URL by opening the file in a browser.
  • Sheet - The sheet to rename. e.g., Sheet1. Select a sheet from the dropdown menu. This field is prepopulated with sheet names after you select a workbook. This property supports String variables and string formatted values. We don't recommend using special characters (#) or special character combinations ($@) for this field.
    • Select the Update Sheets option if you've modified your sheets and need to retrieve the latest data.

  • New name - The new name for the sheet. This property supports String variables and string formatted values. We recommend not using special characters and special character combinations for this field.
    Note: Some special character combinations in the Sheet/Range name property can cause the activity to throw an error. For example, Sheet%Test is a valid input, but Sheet%44 isn’t (%44 is transformed into D).

Example



See also:
  • Description
  • Project compatibility
  • Configuration
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.