Object Model Reference : Classes : A : Application : Properties : Application.ActivePalette |
Property ActivePalette As Palette
Member of Application
The ActivePalette property returns a read-only reference to the active palette.
The following VBA example displays the name of the default palette, and the number of colors in that palette, in a message box.
Sub PaletteActive() |
MsgBox "The default color palette is: " & _ |
ActivePalette.Name & _ |
"It contains " & ActivePalette.ColorCount & " colors." |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.