Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Private Declare Function GetSysColor Lib "user32" (ByVal nIndex As Long) As Long
Sub test()
Debug.Print "&H" & ColorToHex(CommandButton1.BackColor)
End Sub
Public Function ColorToHex(ByVal lColor As Long) As String
If lColor And &H80000000 Then lColor = GetSysColor(lColor And &HFFFFFF)
ColorToHex = Right$("00000" & Hex$(lColor), 6)
End Function
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.