Dr Morpheus,
If you have a piece of code you copied from this forum, then it may look like this:
Code:
Sub TestMacro()
MsgBox "Hello, world!"
End Sub
If this is the case, then here is what you need to do to run it in CorelDRAW:
- Start CorelDRAW
- Go to Tools>Visual Basic>Visual Basic Editor... (or just press Alt-F11)
- In Visual Basic Editor (VBE) go to project explorer on the left side (see the screenshot below). If it's not visible, press Ctrl-R to show it
- Find a project called "GlobalMacros (GlobalMacros.gms)" in the tree.
- Right-click it and select "Insert>Module" from the pop-up menu (see the screenshot). This will add a new code module and show a code window to the right
- Just paste your code in that window, then place the cursor inside the macro function (somwhere between Sub ... and End Sub) and hit F5 to run it
If you downloaded a macro as a .GMS file, please follow the following link for explanation on how to install and run the macros in this case:
http://www.oberonplace.com/vba/useexistingmacro.htm
I hope this helps.