API Documentation > CorelDRAW > 2025-v26 > Palettes > IVGPalettes
Palettes.Count property
Gets the number of palettes currently open in the application
Syntax:
Property Get Count() As Long
Remarks:
The Count property returns the number of color palettes that are open.
Examples:
The following VBA example displays the number of open color palettes.
Sub PalettesCount()
MsgBox Palettes.Count & " palettes are open." 
End Sub