Guys, on Monday I worked ~ 4 hours to create my first CDR 2019 document with macros. An algorithm ensures, that the document is saved from time to time, those macros should process images from a folder and save the output in a new folder. After the last image had been created, my document with macros had been saved, and I finished my work.Today I want to use the macros again, opened my document, but there hadn't been any VBA code anymore. The last processed image had been saved with the document, but no VBA-Code is in.I also did a small test: I created a new document, wrote a small 'Hello World' Sub, where the document gets saved as well. I ran it, closed it and reopened it: No VBA anymore.If you want to use VBA, avoid Corel 2019!
Thank you for reporting this. We can reproduce the issue and we're investigating for a fix.
For now, we can only recommend to save VBA macros separately in a GMS file, as shark_ already suggested.
What I saw until now for GMS is, that it's not suitable for my purposes:
I'm working on the same projects on different computers on different locations, so I save my files mainly in a cloud.What I have in mind from my trials with GMS: The GMS-Files are saved on a local drive within the section for Corel, even write protected from outside. So it seems not possible – at least with an acceptable effort – to synchronize more computers.
My very often needed functions I have in a ToolBox to which I refer in the individual project documents. So I need only a computer with Corel and my DropBox connected and I can start.
As it seems, I need to stay with 2018 for a very long time ….