Reply to: Application.CancelOpenDocument not workingApril 16, 2014 at 9:27 am
That workaround even works with version 5.5 of XMetaL.
I just had to put the given macros into a new file within the “StatUp” directory.
“Please try moving your macros into a new MCR file inside the Startup folder. They should be inside an MCR file that loads after this file: __xmau_services.mcr These files are loaded in alphabetical order, so that file should be loading first (the underscore characters sort higher than “A”). As long as your filename starts with a letter it should load later.” – thank you for that hint, Derek.
Note: My first try was to use the existing file “Macrosxmetal.mcr”, but I got a “Run-Time Error” message:
Line 87, Column 4
Description: The Object doesn't support that property or method.