Hello CorelDraw Experts,
Thank you for adding me to the Developer Area.
I would like to start learning and working with macros.
I use CorelDRAW Graphics Suite X7 on Windows 10. When I go to Tools - Macros - Start Recording, I can not Save Macros, the area in the window is blank:
I wrote to Corel technical support but the answer was: "... we do not have support regarding MACROS because that is out of our scope. However, I would like you to refer on our forums and ask our experts there..."
I asked in the Community forum: https://community.coreldraw.com/talk/coreldraw_graphics_suite_x7/f/coreldraw-graphics-suite-x7/58213/marcos-for-newbie-i-am-starting-from-scratch/278682#278682
And I searched CorelDraw help: https://community.coreldraw.com/sdk/f/coreldraw-and-corel-designer-api/p/addpost
To install the VBA and VSTA features
On the Windows Control Panel, click Uninstall a program.
Double-click CorelDRAW Graphics Suite or CorelDRAW Technical Suite on the Uninstall or change a program page.
Enable the Modify option in the wizard that appears, and follow the instructions.
On the Features page (page 2) of the installation wizard, enable the Utilities check box, and then enable the following check boxes in the Includes list box:
Visual Basic for Applications
Visual Studio Tools for Applications
But when I go to #3, I don't have "Modify" option, I only have the "Uninstall" option:
Someone on Forum said it should look like that but I don't have that screen:
When I bought the CorelDRAW Graphics Suite X7 they said macros will work.
So where do I start? Could someone direct me, please?
Thank you very much in advance.
Is it possible that you bought a "Home & Student" version of X7? If so, that does not include the ability to use/program macros. I doubt if that is the problem because that should have been the 1st thing tech support asked.
From whom did you buy X7?
This is not Home and Student, I bought the whole version from Corel. I spoke with a staff and he told me macros will work with.
My only suggestion is to uninstall (removing *all* files associated) and do a manual install being sure to include VBA in the utilities section. Removing all files will *not* remove the .CDR files you've created.
Corel leverages macro abilities from VBA that's already installed on your system, typically with Microsoft Office Suite. If you don't have MS Office on your system, you may need to install Visual Studio Tools for Applications. This happened to me the first time I was setting up my system. Free from Microsoft: https://www.microsoft.com/en-us/download/details.aspx?id=56046
If you already have Visual Studio Tools for Applications then I think Roy is on the right track.
you need to run the coreldraw installer again, then you will see this screen, select modify, click next,
until you reach this screen, check the option visual basic for application, click in install now.
If sucess, now you can record and write VBA macros. for VSTA macros your will need install Visual Studio, you can download from Microsoft Official Site, VSTA macros can only be created by code