Office Scripts extract Excel hyperlink URLs without macros; results are hardcoded so the file can stay .xlsx, reuse is straightforward.
It is the very first thing you must check before doing anything else. If the corresponding Workbook is unavailable or not selected when compiling the VBA script ...