How do I align and distribute a random bunch of objects like this:
To this:
Manually I can select the objects row by row, or column by column, and align center relative to object, then distribute evenly.
I'm trying to write a macro to do this in one-click, but am already stuck at the first step, identifying rows or columns of objects by position.
Is there any perhaps established way of doing this in VBA?
community.coreldraw.com/.../how-can-i-arrange-random-logo
Thanks for replying. :) What I need though, is for the program to do this without specifying a fixed row and column count. I know how to lay the objects as a grid if the dimension is known. What I'm struggling is a way to detect the rows and columns. I suppose, something in the lines of "closest objects to the topmost object by y position" for rows, for example.
Sorry, my fault I didn't read the whole post
No worries!