UiPath Documentation
activities
latest
false
Productivity activities

Get Cell Color

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

UiPath.Excel.Activities.GetCellColorX

Description​

Retrieves the background color of a cell and saves it as a color variable. The activity can be used with an Excel file selected for a parent Use Excel File activity or with the Project Notebook.

Configuring the activity​

Designer panel​

  • Cell - Select Plus on the right side of the field and then, from the menu, select an Excel file and a named cell whose color to read, or select Indicate in Excel to indicate a cell directly from the file. Alternatively, you can select Custom Input to enter a cell address manually, or Open in Advanced Editor to enter a VB expression.

  • Color - Select Plus on the right side of the field and then, from the menu, select where to save the color:

    • Copy to clipboard - Save the value to the clipboard.
    • Create Variable - Save the value for later use in the project as a variable.
    • Open in Advanced Editor - Enter a VB expression.

Properties panel​

Common​
  • DisplayName - The name displayed for the activity in the Designer panel.
Destination​
  • Cell - See Cell in the body of the activity.
Misc​
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output​
  • Color - See Color in the body of the activity.
  • Description​
  • Configuring the activity​
  • Designer panel​
  • Properties panel​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated