vba VBA GUIs for Use in CorelDRAW


Export & Publish

Automatically creates JPEG, PNG, and PDF files from any number of documents.

Normally, you need to go document by document and export images or publish PDFs, sometimes even page by page if you want multiple exports from a document. This automates the process.

Export and Publish


Garment Simulation

Automatically places artwork on garment photos of all sizes, styles, and colors to simulate printed product.

Garment Sim


Color Replace

Recursively searches through document to replace instances of desired color. Color Replace


Set Size

Set any number of selected objects to the largest size that will fit within specified dimensions.

Set Size


Auto Import

Not VBA, but AutoIt, which is another BASIC-like so it’s in a similar ballpark. Made to automate input for Roland ErgoSoft RIP software.

Auto Import

PDFs are placed into the RIP software as needed to print on sublimation paper or vinyl. Since they go from the printer to the CNC machine to be cut out, they need registration marks for the CNC to recognize.

Normally, the process of placing PDFs into the RIP software is very slow and requires tedious file browsing and repitition. This program automates the majority of that.

All that’s needed is to select the product name, enter the SKU, and go. A string is procedurally built to determine the file path and input is sent to window controls in the RIP software to automatically import the file.

With logic for quantity! For example: The PDF for one of the products is naturally 4-up since we do packs in multiples of 4 and that’s what fits best on a sheet. Entering a quantity of ‘16’ imports 4 files. Not super complex but pretty nifty.


All source code can be found at e-thab/VBA

Not mentioned by name, but a true hero in all programs above: extensive, grueling, boring exception handling.