Return background color of selected cell

前端 未结 4 1255
终归单人心
终归单人心 2020-12-10 01:09

I have a spreadsheet which cells in are colored meaningfully.

Does any body know how i can return the background color value of a current cell in Excel sheet?

4条回答
  •  暖寄归人
    2020-12-10 02:04

    You can use Cell.Interior.Color, I've used it to count the number of cells in a range that have a given background color (ie. matching my legend).

提交回复
热议问题