OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22-02-2022, 01:43
aakkaarr aakkaarr is offline
Senior Member
 
Join Date: Jan 2009
Posts: 163
Default How to select bottom most object on the page

How to select bottom most object on the page
Reply With Quote
  #2  
Old 28-02-2022, 20:28
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,790
Blog Entries: 13
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Select Bottom Most Shape on Page

Use a little CQL:
Code:
Sub SelectBottomShape()
    Dim srSelection As ShapeRange
    
    Set srSelection = ActiveSelectionRange
    srSelection.Sort " @shape1.Top * 100 - @shape1.Left > @shape2.Top * 100 - @shape2.Left"
        
    srSelection.LastShape.CreateSelection
End Sub
Happy Coding,

-Shelby
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
X5 - select objects actually on the page knowbodynow CorelDRAW/Corel DESIGNER VBA 2 29-01-2012 20:22
Select all items on current page (within print area) fungel Feature requests/wishlist 1 20-10-2010 11:58
Ruler to start top left of page instead of bottom left fungel General 2 08-04-2009 13:07
Is there a way to select all objects on page..... LGD CorelDRAW/Corel DESIGNER VBA 2 10-11-2006 15:04
How to select object inside another object jukos General 4 24-10-2005 22:27


All times are GMT -5. The time now is 08:12.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com