Despite what CorelDraw says when saving to an earlier version the VBA code is saved with the graphic.
However the VBA code is not modified so that it is compatible with the earlier CorelDraw version.
Some new commands may have been introduced since the earlier CorelDraw version was released.
You must manually modify the code where there are problems.
You can also export the VBA code as individual files.
Again some code many not be compatible with the version of CorelDraw you import to.
You must manually modify the code where there are problems.
ThisDocument files are saved as .cls files.
Forms are saved as .frm files.
Modules are saved as .bas files.
You have to import each VBA code type back into a CorelDraw file separately.
As well as this you must manually make references to each application (DLL) used.
To do this go to Tools > References then select the applications such as Microsoft Excel or Microsoft Access & Microsoft DAO.
Again some code many not be compatible with the version of CorelDraw you import to.
You must manually modify the code where there are problems.
|