Step-By-Step Guide to creating CorelDraw X8 Macro

All I really need is a "This is how to create your own macros in CorelDraw X8" in a step-by-step kind of thing. I tried looking at videos that referred to older versions of CorelDraw, but X8 has changed the GUI.

Is there any way at all you can help? Any aid at all would be hugely appreciated.

  • I learned by poking around in the macro editor. Look at some simple code and build from there. Helps to know what you're trying to accomplish first though. Google search is a big help too.
    • Unfortunately, I don't know a thing about coding so even if I looked at the code, I wouldn't know what I was looking at. I know what I want to do but I've never worked with creating macros. I tried following videos online but X8 is so different from past versions.
      • go tools/macros/macro manager.
        right click on Visual Basic for Applications and choose New Macro Project
        Name it HideShowLayer, hit ok (no spaces)
        right click on the title and choose new module (don't worry about a name)
        right click on the module and choose new macro
        Highlight all you see there and paste this in it's place.

        Sub HideShowLayer()
        ActiveLayer.Visible = Not ActiveLayer.Visible
        End Sub

        you can see the code says whatever layer is active and visible will be turned off if you run this macro. Go ahead and try it. draw something on a page then right click the macro and choose run. layer is turned off. run macro again
        • Ok cool. I'll try this out. Thank you. :)
          • I tried it and it worked! Thanks so much for your help, Myron. I appreciate it.