Last active
May 6, 2025 16:46
-
-
Save jimbrig/af12db727c8fbebc3ce9a3b68fdf3446 to your computer and use it in GitHub Desktop.
GMH Data Model Workbook Module
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
| // --- Workbook Module --- | |
| // Module containing named range definitions for the GMH Data Model Workbook. | |
| /** | |
| * Get Sheet Names of Current Workbook | |
| */ | |
| Workbook.GetSheetNames = TRANSPOSE(SUBSTITUTE(GET.WORKBOOK(1), "[" & GET.WORKBOOK(16) & "]", "")); | |
| /** | |
| * Define SheetNames | |
| */ | |
| Workbook.SheetNames = Workbook.GetSheetNames; | |
| /** | |
| * Get Sheet Names Filtering for a Pattern | |
| */ | |
| Workbook.GetSheetNamesByPattern = LAMBDA(pattern, | |
| FILTER(Workbook.SheetNames, REGEXTEST(Workbook.SheetNames, pattern, 0)) | |
| ); | |
| /** | |
| * Define the Default Property Image URL | |
| */ | |
| Workbook.DefaultPropertyImageURL = "https://placehold.co/600x400.png"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment