![]() |
#1
|
|||
|
|||
![]()
Hi,
This seems like it should be a very basic macro to write, but I can't seem to get it to work (it's been a very long day). The basic idea is to break individual objects apart from within a selection. I'm not a programmer, but I made a stab at it with no success. Any help would be appreciated (I'm too emabarassed to post the code I tried ![]() Cheers, Geoff |
#2
|
||||
|
||||
![]()
I tried to keep this as simple as I could. Basically it gets the selection, loops thru it, and breaks apart every shape. Hope it gives you a place to start.
Code:
Sub BreakApart() Dim s As Shape Dim Selection As ShapeRange Set Selection = ActiveSelectionRange For Each s In Selection s.BreakApart Next s End Sub |
#3
|
|||
|
|||
![]()
Thanks a million. I was close and now I see exactly where I went wrong (some sleep probably helped as well). Your help is greatly appreciated.
Cheers, Geoff |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CDR12: refresh Object Manager docker after CreateSelection | zlatev | CorelDRAW/Corel DESIGNER VBA | 2 | 05-03-2005 09:00 |
Bounding lines around an object | toy4mud | CorelDRAW CS | 2 | 04-11-2004 11:56 |
Sorting entries in the object manager | dan | CorelDRAW/Corel DESIGNER VBA | 1 | 18-08-2004 22:16 |
Would you miss CorelScript object? | Alex | CorelDRAW/Corel DESIGNER VBA | 32 | 04-02-2004 14:59 |
Page selection and object moving problems | wbochar | CorelDRAW/Corel DESIGNER VBA | 1 | 15-04-2003 09:10 |