Activities
latest
false
Banner background image
Productivity Activities
Last updated May 14, 2024

Get Cell Color

UiPath.Excel.Activities.GetCellColorX

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

In the Body of the Activity
  • Cell - Click Plus docs image 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 - Click 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.
  • Configuring the 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.