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

Get Cell Color

UiPath.Excel.Activities.ExcelGetCellColor

Extracts the background color of a cell and saves it as a Color variable. Can only be used within the Excel Application Scope or Use Excel File activities.

Properties

Input
  • Cell - The Excel cell or range whose color you want to extract. It can be filled in with strings such as "B3", as well as "A1:A100." This field only accepts strings and String variables.
  • SheetName - The name of the sheet containing the cell. This field only accepts strings and String variables.
Output
  • Color - The extracted color stored as a System.Drawing.Color variable.
Common
  • DisplayName - The display name of the activity.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Example of how to use the Get Cell Color activity

To exemplify how to use this activity, we have built an automation project which analyzes the results of a file and rearranges them in the correct order. You can download the example from here.

  • Properties
  • Example of how to use the Get Cell Color activity

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.