Object Model Reference : Classes : P : Palette : Properties : Palette.Name |
Property Name As String
Member of Palette
The Name property returns or specifies the name of a palette.
• |
The palette name can be set with the Name property only if the palette is a
custom palette.
|
The following VBA example displays the name of all open palettes.
Sub Test() |
Dim s As String |
Dim pal As Palette |
s = "Open palettes:" & vbCr |
For Each pal In Palettes |
s = s & vbCr & pal.Name |
Next pal |
MsgBox s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.