630592
532
Zoom out
Zoom in
Previous page
1/561
Next page
530 | Corel PHOTO-PAINT X8 User Guide
Getting started with macros
The macro features for VBA and VSTA are installed with the software by default, but you can manually install these features if necessary. You
can specify options for the VBA feature.
To use VSTA macro features with Corel PHOTO-PAINT, you must have Microsoft Visual Studio 2012 or later installed. To use the VSTA
Editor, you must first install Microsoft Visual Studio 2012, 2013 or 2015, Community, Professional, Premium, Ultimate or Enterprise
Edition; and then reinstall Microsoft Visual Studio Tools for Applications 2015 from microsoft.com.
If you install Microsoft Visual Studio after installing CorelDRAW Graphics Suite, you must re-install the VSTA macro features by
modifying your CorelDRAW Graphics Suite installation. For more information, see “To manually install the macro features” on page
531.
The macro features provide several tools for working with macros in the main application window:
Macros toolbar — provides easy access to common macro functions
Macro Manager docker — provides easy access to all available macro projects for VBA, and to basic functions for working with those
projects
Macro Editor (formerly the Visual Basic Editor) — provides advanced functions for creating VBA-based macro projects
VSTA Editor — provides advanced functions for creating VSTA-based macro projects. The VSTA Editor is accessible only if you have
Microsoft Visual Studio 2012, 2013 or 2015 installed.
Creating macros
Macros are stored in modules (also called “code modules”), which are stored in macro projects. The Macro Manager docker lets you view
and manage all of the macro projects, modules, and macros that are available to you.
You can use the Macro Manager docker to create macro projects in the form of Global Macro Storage (GMS) files or Corel VSTA Projects
(CGSaddon). Using such files is an excellent way to bundle the components of your macro project for sharing with others. You can use the
Macro Manager docker to open (or “load”) the macro projects that you create, as well as the macro projects that install with the software
or that are otherwise made available to you. You can also use the Macro Manager docker to rename macro projects, as well as to copy and
close (or “unload”) GMS-based and VSTA macro projects.
Some macro projects are locked and cannot be modified.
When you create a document, a macro project for that document is automatically added to the Macro Manager docker. Although
you can store macros within the macro project for a document — for example, to create an all-in-one template — it is recommended
that you instead use GMS files to store your macro projects.
Each macro project contains at least one module. You can use the Macro Manager docker to add a module to a VBA-based macro project,
or to open existing modules for editing. You can also use the Macro Manager docker to rename or delete VBA modules.
The editing feature is disabled for some modules.
Finally, you can use the Macro Manager docker to create macros within the available modules. You don’t need any programming experience
to create macros; however, if you have programming experience and want to edit VBA macros, you can do so by using the Macro Editor. You
can also use the Macro Manager docker to rename and delete VBA macros.
Playing macros
You can perform the actions that are associated with a macro by playing that macro.
532


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Corel Photo-Paint X8 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Corel Photo-Paint X8 in the language / languages: English as an attachment in your email.

The manual is 25,82 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info