Render.ru

Макросы

#1
Если я написала макрос в VBA редакторе (Alt + F11), то как мне сохранить его с расширением gms, чтобы можно было отдать друзьям и те в свою очередь положив его в папку C:\Program Files\Corel\CorelDRAW Graphics Suite 13\Draw\GMS
могли бы им пользоваться.
Не соображу как имея код макроса сохранить его в независимый фалй в формате gms?
 

G-Kir

Знаток
Рейтинг
20
#2
Надо открыть хэлп по Корел VBA. Ввести в поиск "gms" и через секунду прочитать:

To create a new project file
1 In Windows Explorer, navigate to the GMS folder.

GMS files are stored in the \Corel\CorelDRAW Graphics Suite 13\DRAW\GMS\ folder which is typically in the folder C:\Program Files\.

2 Click File New Text Document to create a new, empty text document in this folder.

3 Rename the file to your-name.gms where "your-name" can be any valid Windows filename.

4 Restart CorelDRAW.

Note

When you launch the VBA editor, the new GMS file will be listed in the Project Explorer window as Global Macros (your-name.gms).

 
Сверху