Corel Draw Macro VB error

Hi

I am moving on from RD Works to Lightburn. I use Corel for all my design work so I have created the Macro in Corel as per the Lightburn V3 doc. When in Corel I select an object and then run the macro, I get the following error :
Microsoft Visual Basic
Run-time error ‘-2147024809 (80070057)’:
Value is out of range. It must be between 0 and 9.

If I select debug it highlights this line in the macro:
.Version = 10 ’ FilterAILib.aiVersionCS6

Running Win 10 fully patched and an older version of Corel, X6.

Can anyone suggest a fix?

TIA

A Corel X5 user was able to make it work and posted another version here. Please test to see if this works for you.

I changed the value to 2, that got rid of the run time error.
But nothing happens, I presume the macro runs but nothing appears in Lightburn?

Edit - I got it to work, there are a couple of small changes between the X5 version and the later Corel macro that I didn’t see initially.

Thanks for your help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.