UiPath Documentation
activities
latest
false
Productivity activities

Get Cell Color

Get Cell Color activity that extracts the background color of a cell and saves it as a Color variable in Excel.

UiPath.Excel.Activities.ExcelGetCellColor

Description​

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.

Project compatibility​

Windows - Legacy | Windows

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.

  • Description​
  • Project compatibility​
  • Properties​
  • Input​
  • Output​
  • Common​
  • Misc​
  • Example of how to use the Get Cell Color activity​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated