Created
November 20, 2020 20:01
-
-
Save WyattCast44/6b3a670253ec2d1606d27883eaabddb4 to your computer and use it in GitHub Desktop.
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
Public Function getSheetByName(name) | |
Set getSheetByName = ActiveWorkbook.Sheets(name) | |
End Function | |
Public Function getCellBackgroundColor(sheet, cell) | |
getCellBackgroundColor = getSheetByName(sheet).Range(cell).Interior.Color | |
End Function | |
Public Function getCellTextColor(sheet, cell) | |
getCellTextColor = getSheetByName(sheet).Range(cell).Font.Color | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment