Public Function GetHexColor(strHex As String) As Long
Dim strColor As String
Dim strR As String
Dim strG As String
Dim strB As String
'strip the leading # if it exists
If Left(strHex, 1) = "#" Then
strHex = Right(strHex, Len(strHex) - 1)
End If
'reverse the first two and last two hex numbers of the R G B values
strR = Left(strHex, 2)
strG = Mid(strHex, 3, 2)
strB = Right(strHex, 2)
strColor = strB & strG & strR
GetHexColor = CLng("&H" & strColor)
End Function
bunun ile renk değiştirebiliyorum ama propertiese ne yzamak lazım
Excelde Controllerin Rengini Propertiesden Değiştirmek
Bu Konudaki Yorumlar |
Excelde Controllerin Rengini Propertiesden Değiştirmek - Yazar: accessman - 10/01/2020, 08:55
Cvp: Excelde Controllerin Rengini Propertiesden Değiştirmek - Yazar: accessman - 10/01/2020, 09:09
Cvp: Excelde Controllerin Rengini Propertiesden Değiştirmek - Yazar: accessman - 10/01/2020, 09:26
Cvp: Excelde Controllerin Rengini Propertiesden Değiştirmek - Yazar: accessman - 10/01/2020, 09:42
|
Konuyu Okuyanlar: 1 Ziyaretçi