web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Get color of cell

(1) ShareShare
ReportReport
Posted on by 2
is it possible to get the colour of a cell in excel, from power automete desktop?
Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,023 Super User 2026 Season 1 on at
    Hi,
     
    Yes you can do that with the following steps:
     
    • Open your Power Automate Desktop flow.
    • Use the "Launch Excel" action to open an existing workbook or create a new one.
    • Use the "Set color of cells in Excel worksheet" action in advanced section:
      • Select the target cell or range.
      • Specify the formatting type, such as font color, background color, or other properties.
    • Save and close the Excel file.
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • trice602 Profile Picture
    16,023 Super User 2026 Season 1 on at
    Sorry - just realized it is GET not SET.  You can use a Python script in PAD like this:
     

    from openpyxl import load_workbook



    # Load the workbook and select the sheet

    workbook = load_workbook("%ExcelInstance2%")

    sheet = workbook.active  # Replace with sheet name if needed



    # Get the cell

    cell = sheet["A1"]



    # Get the fill color

    fill_color = cell.fill.start_color.rgb  # Hex color code (ARGB format)



    # Display the color

    print(f"The color of cell A1 is: {fill_color}")
  • CU17011800-0 Profile Picture
    2 on at
    what I need is to get the background colour of a cell.
     
     
    I would need to get the yellow colour from column A, and then the blue colour.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard