... nimm doch Notes und ein bisschen Script ( Na gut, API )
Type ChooseColor
lStructSize As Long
hwndOwner As Long
hInstance As Long
rgbResult As Long
lpCustColors As String
flags As Long
lCustData As Long
lpfnHook As Long
lpTemplateName As String
End Type
Declare Function ChooseColor Lib "comdlg32.dll" Alias "ChooseColorA" (pChoosecolor As ChooseColor) As Long
Sub Click(Source As Button)
Dim cc As ChooseColor
Dim lngCustColor(16) As Long
cc.lStructSize = Len(cc)
cc.hwndOwner = 0
cc.hInstance = 0
cc.flags = 0
cc.lpCustColors = String$(16 * 4, 0)
lngReturn = ChooseColor(cc)
ShowColor = Str$(cc.rgbResult)
HexColors = Hex$(ShowColor)
ccolorlength = Len (HexColors)
If ccolorlength < 6 Then
hexcolors = Ustring$((6-ccolorlength), "0") & hexcolors
End If
newcolor= Right$(hexcolors, 2) & Mid$(hexcolors, 3, 2) & Left$(hexcolors , 2)
Msgbox newcolor
End Sub
Farbe auswählöen und OK klicken, dann wir dir der Farbwert angezeigt