![]() |
#1
|
|||
|
|||
![]()
' shelbym '
he was the q wrote this code which is great .. I have doubt .. as I could do to carry a 'frame' colors q were created within the document ....... here are some picture ![]() Code:
Sub CreatePalette_Click() Dim s As Shape Dim sr As New ShapeRange Dim lr As Layer Dim pal As Palette Set lr = ActivePage.CreateLayer("PowerClip") For Each s In ActivePage.Shapes If Not s.PowerClip Is Nothing Then s.PowerClip.Shapes.FindShapes.CopyToLayer lr End If Next s Set pal = Palettes.CreateFromDocument("Document Colors", _ Application.UserDataPath & "Palettes\DocColors.cpl", True) lr.Delete End Sub |
![]() |
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 |
Not log or Un-log shape creation? | runflacruiser | CorelDRAW/Corel DESIGNER VBA | 4 | 17-07-2011 18:30 |
Help - Creation of GMS - IVGGMSManager | wOxxOm | CorelDRAW/Corel DESIGNER VBA | 6 | 02-07-2007 12:44 |
pdf file creation queries | ozambersand | General | 0 | 12-05-2005 03:20 |
How to set palette as default palette with VBA ? | hmalme | CorelDRAW/Corel DESIGNER VBA | 1 | 22-12-2004 13:26 |
New document creation problem | ddonnahoe | CorelDRAW/Corel DESIGNER VBA | 2 | 20-11-2004 00:26 |