In our company, we use VBA macros extensively and now have a very large GMS file containing numerous macros. We've noticed that this drastically slows down Corel's startup.
Unfortunately, I can't attach a sample GMS file here since the format isn't supported. Initially, we thought it might be due to our naming conventions, but testing revealed that the slowdown happens simply because of the sheer number of macros.
To confirm this, we created a GMS file containing thousands of identical macros (e.g., `PrintTestMacro1`, `PrintTestMacro2`, etc.), and Corel's startup time increased dramatically.
Sample macro structure in vba:
Public Sub PrintTestMacro1()
Debug.Print "1"
End Sub
Public Sub PrintTestMacro2()
Debug.Print "2"
End Sub
' ... and so on ...
Is there any way to speed up Corel's startup with large GMS files?
Additionally, having such a large GMS file also causes significant delays when opening the settings dialog and switching to Commands (Ctrl+J --> Costumisation -->Commands).