![]() |
#1
|
|||
|
|||
![]()
How to Select unique colors in shaperange
|
#2
|
||||
|
||||
![]()
Here is a fun little way to do this using CQL:
Code:
Sub CQLColors() Dim sGroup As Shape Dim strColors As String Set sGroup = ActiveSelectionRange.Group strColors = sGroup.Evaluate("@children.foreach(array(), $lasteval.addarray($item.colors)).unique.convert($item.name).join(', ')") sGroup.Ungroup MsgBox strColors End Sub -Shelby |
#3
|
|||
|
|||
![]()
Thanks Shelby,
when selecting Red and Black the msgbox says Black, unnamed color I need to find color value like if CMYK then the values of C,Y,M,K |
![]() |
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 |
X5 shaperange bug? | knowbodynow | CorelDRAW/Corel DESIGNER VBA | 3 | 21-03-2012 00:08 |
shaperange.add | HeauxmBru | Macros/Add-ons | 10 | 30-06-2011 23:15 |
How to select the black lines, fill in random colors? | sy168 | CorelDRAW/Corel DESIGNER VBA | 2 | 16-08-2008 04:23 |
Shaperange to Layer | ebu | CorelDRAW/Corel DESIGNER VBA | 2 | 19-01-2008 05:44 |
How To Select Similar Colors In Corel X3 | SIGNTIST2004 | CorelDRAW/Corel DESIGNER VBA | 2 | 27-12-2006 17:19 |