Dim CSPalette As Palette
Dim CSColor As color
Dim CStext As String
Set CSPalette = Palettes.CreateFromSelection("DocColors", , True)
For Each CSColor In CSPalette.colors
CStext = CSColor.Name(False)
Set CSShape = CSLayer.CreateArtisticText(5, 5, CStext, , , "Arial", 6, Alignment:=cdrLeftAlignment)
Next CSColor