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!
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 ….
Ich entscheide , kein Corel 2019 zu benutzen, ich benutze weiterhin 2018 ! Corel 2019 hat zu viele VBA Fehler, keine Updates, ich bin enttäuscht
Note that this issue has been addressed with Update 2 of CorelDRAW Graphics Suite 2019.
"VBA macros are preserved with the CorelDRAW (CDR) file upon saving."
Das hier beschriebene Problem wurde mit Update 2 für CorelDRAW Graphics Suite 2019 behoben.
Aus den Versionshinweisen zu Update 2: "VBA-Makros werden beim Speichern zusammen mit der CorelDRAW-Datei (CDR) aufbewahrt."
Note that if You change VBA only, then You have to use "SaveAs..." (Ctrl+Shift+S) to save changes. If You just press Ctrl+S (Save) nothing will be saved as the Save command is disabled due to no changes from VBA Editor are registered as document changes.Even in CorelDraw 2018.
With previous CorelDraw versions the Save command wasn't disabled for an unchanged document works like a charm (e.g. Ctrl+S worked in X4).