tranthanhan1962 > 31-05-15, 08:10 PM
tronghieu9792 > 01-06-15, 12:56 AM
tranthanhan1962 > 01-06-15, 01:38 AM
tranthanhan1962 > 01-06-15, 08:37 AM
tronghieu9792 > 01-06-15, 11:35 AM
Minh Tiên > 02-06-15, 08:36 AM
(01-06-15, 08:37 AM)tranthanhan1962 Đã viết: Demo xen kẻ màu nền tren form
tranthanhan1962 > 03-06-15, 12:09 AM
(02-06-15, 08:36 AM)Minh Tiên Đã viết:(01-06-15, 08:37 AM)tranthanhan1962 Đã viết: Demo xen kẻ màu nền tren form
- Vụ này ở office 2007 trở đi đã có hỗ trợ: Property --> Detail --> Format -->Alternate Back Color -->Alternate row --> OK.
- Thanks tranthanhan1962 !
ongke0711 > 01-08-15, 08:53 AM
MTNQ > 27-02-16, 12:29 AM
Function AddFormatConditions2(ctrlBG As Control, strExpression As String, _
Optional lngBackColor As Long = vbRed)
On Error GoTo HandleError
With ctrlBG
.FormatConditions.Delete
.FormatConditions.Add acExpression, , strExpression
.FormatConditions(0).BackColor = lngBackColor
End With
Err_Exit:
Exit Function
HandleError:
MsgBox Err.Description, vbCritical, "Err: AddFormatConditions2"
Resume Err_Exit
End Function
ongke0711 > 27-09-16, 11:01 PM