Created
July 11, 2022 03:59
-
-
Save seanellul/f03d844ade2d313aa70a63edee1fceaf to your computer and use it in GitHub Desktop.
Sheets Code to get background colors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function GetCellColorCode(input) | |
| { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var cell = ss.getRange(input); | |
| var result = cell.getBackground() | |
| return result | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment