Created
February 28, 2026 22:52
-
-
Save summerofgeorge/429b5e9f654a6ffc7d5667805b7be6ca to your computer and use it in GitHub Desktop.
Extract total sales Office Scripts
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 main(workbook: ExcelScript.Workbook) { | |
| const totalRevenue = workbook | |
| .getNamedItem("TotalRevenue") | |
| .getRange() | |
| .getValue() as number; | |
| console.log(totalRevenue); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment