can we repeat a cropmark macro like tiler to all pages after we use on single page ?
paraggoyal said:i also want to learn vba coding but when i was looking at google about this i always see excel macro. are excel macro and corel macro are the same process?
Both CorelDraw and Excel can be automated using Visual Basic for Applications (VBA).
If you are trying to learn how to do it in CorelDraw, I think it's useful to look at examples of CorelDraw macros, because those will show how VBA can be used to work with the "object model" of CorelDraw.
One way to get a hands-on introduction to VBA in CorelDraw would be to use some of the really nice tutorials that John put together:
GDG Macros VBA Lessons
Some of the information in the first lesson might not work for you, because it shows a way of creating a new VBA project in X3 using a Windows XP setup.
Here is how I would set up a new VBA project in CorelDraw in X7 on my Windows 7 system:
In CorelDraw, open the Macro Manager docker:
Right-click on "Visual Basic for Applications":
Click on "New Macro Project..." to get to this dialog:
Type in the name of your new project, click "Save", and then see that the new project is present in the Macro Manager:
Also, the way to get to the macro editor is a little bit different. In X7, I would use Tools>Macros>Macro Editor... to open it:
When the editor opens, the new macro project is there:
I think that, from there, you would be ready to type in a first "Hello, World!" macro - and then move on.
Already in Lesson 2, John gives an example that involves "doing something" on all pages of a document - so you are learning something that is useful right away!
paraggoyal said:m sorry i tried this just like gdg lessons but cant able to understand how to use that with tiler that can run through all the pages in once.. can you help me out?
If you look at some of your recent threads, you may see that people were able to help you only after they understood exactly what you wanted to do.