activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 15, 2024

Clear Range

UiPath.GSuite.Activities.ClearRange

Description

Clears the values in a specified range of cells. Only clears values; all other settings are kept.

Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive

OR

  • https://www.googleapis.com/auth/spreadsheets

Project compatibility

Windows - Legacy | Windows

Configuration

In the Body of the Activity
  • Sheet -The sheet in the document from which the range will be cleared. The default value is Sheet1. This property supports String variables and string formatted values.
  • Range - Specifies the range of cells that you want to clear. This property supports String variables and string formatted values (enter your range in A1-style notation). The default value is "A1:B2".
    • For example, if you have data in cells A1:C4, and you enter "A1:B3" as your Range, the data in cells A1:B3 are cleared and the data in cells A4, B4, and C1:C4 remains.
    • For example, if you have data in cells A1:C4, and you enter A1:B3 as your Range, the data in cells A1:B3 are cleared and the data in cells A4, B4, and C1:C4 remains.
Properties Panel

Common

  • ContinueOnError - If set, the remaining activities are executed if the current activity fails. This field supports Boolean values.
  • DisplayName - The display name of the activity. This property supports String variables and string formatted values.

Input

  • Range - See Range in the body of the activity.
  • SheetName - The name of the sheet that you want to make changes to. This property supports String variables and string formatted values. The default value is "Sheet1".
  • Spreadsheet - A reference to a Google Spreadsheet where the change will be made. Typically obtained via the Use Google Spreadsheet activity. This property supports IGoogleSheetTarget variables.
  • SpreadsheetID - The ID of the spreadsheet where you want to add the new sheet. This property supports String variables and string formatted values. When entering your value, use the exact ID, or the output property variable from a previous Find Files And Folders or Copy File activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

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