Visual Basic for Applications Corel Draw

Have any of you users managed to generate vba code for corel draw. I want to write a macro but I see that there is a problem with it