You're writing the same code over and over again with only minor changes, and you're about to do it again. Stop. If you're creating a standalone class (either a class that you'll call from your ...
If you have a custom file type; and wish to register a plain text or a multimedia preview handler, for this custom file type, you can do so using this utility. To use this tool download and run ...
Office Scripts extract Excel hyperlink URLs without macros; results are hardcoded so the file can stay .xlsx, reuse is straightforward.