Hey All,
Windows Office 365 (Excel Version 2306)
I have taken over maintaining a global macro file that is stored in XLSTART so everyone in the office shares the same macros for every single excel sheet opened.
I want to be able to detect when a new xlsx/xlsm file is opened and record the filename, if it has a specific prefix it will execute some code specific to it.
I have made a module with auto_open() however the macro file in XLSTART launches first and executes the code before the actual file is opened.
Is what im trying to achieve possible?
Windows Office 365 (Excel Version 2306)
I have taken over maintaining a global macro file that is stored in XLSTART so everyone in the office shares the same macros for every single excel sheet opened.
I want to be able to detect when a new xlsx/xlsm file is opened and record the filename, if it has a specific prefix it will execute some code specific to it.
I have made a module with auto_open() however the macro file in XLSTART launches first and executes the code before the actual file is opened.
Is what im trying to achieve possible?