Hello everybody.
I would like to ask if there is any way to use VBA to detect how many pages are selected in Page Sorter View, or to detect the index of the currently selected page. Page Sorter View is very useful, but in this mode the page numbering is not displayed, so I would like to write a macro to make working in this mode a bit easier.
Thank you very much for any ideas.Martin.
Hello @ minecraftle game in VBA, you can use the ActiveWindow.Selection property to determine the currently selected pages in Page Sorter View. The Selection property returns a Selection object, which has properties to access information about the selected pages.
Are you sure? Could you give an example of using code that works for you? Class window does not have property selection according to the specification see:https://community.coreldraw.com/sdk/api/draw/20/c/window