CorelDraw & VBA
Summary & Introduction
Guide to CorelDraw VBA
Creating Variable Data
Variable Data From Access
Variable Data From Excel
Variable Data Without a Data File
CorelDraw BarCode Wizard
EAN13 BarCodes Without The Wizard
Code 39 BarCodes Without The Wizard
ITF-14 BarCodes Without The Wizard
Code 128 BarCodes Without The Wizard
QR BarCodes
Variable Pictures
Sorting for Guillotining
Repositioning Data
Pantone Colors
Saving VBA Code to a Previous Version of CorelDraw
Trim Marks
PhotoPaint
Miscellaneous VBA
Help
 
Saving VBA Code to a Previous Version of CorelDraw

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.

2015_08_06