- ©«¤l
- 549
- ¥DÃD
- 152
- ºëµØ
- 0
- ¿n¤À
- 691
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-8-10
- ³Ì«áµn¿ý
- 2022-9-7
|
¥»©«³Ì«á¥Ñ PKKO ©ó 2014-11-23 13:08 ½s¿è
¦^´_ 1# s13983037
¦¹¥¨¶°°²³]§A¬O¦bsheets(1)¤U±¾Þ§@,¦pªG¤£¬O´N¦brange«e±¥[¤W sheets(1).
¸Õ¸Õ¬Ý- Sub test()
- For i = 1 To Range("A65536").End(xlUp).Row
- With Cells(i, 1)
- For j = 1 To Range("C65536").End(xlUp).Row
- If .Value = Cells(j, 3) Then
- .Interior.ColorIndex = 6 '¬Oªº¸Ü¶À¦â
- Exit For '¬O´NÂ÷¶}¤ñ¹ï
- Else
- .Interior.ColorIndex = 2 '¤£¬Oªº¸Ü¥Õ¦â
- End If
- Next
- End With
- Next
- End Sub
½Æ»s¥N½X interior font HTML bgcolor= Red< Green Blue Color
Black [Color 1] #000000 #000000 0 0 0 [Black]
White [Color 2] #FFFFFF #FFFFFF 255 255 255 [White]
Red [Color 3] #FF0000 #FF0000 255 0 0 [Red]
Green [Color 4] #00FF00 #00FF00 0 255 0 [Green]
Blue [Color 5] #0000FF #0000FF 0 0 255 [Blue]
Yellow [Color 6] #FFFF00 #FFFF00 255 255 0 [Yellow]
Magenta [Color 7] #FF00FF #FF00FF 255 0 255 [Magenta]
Cyan [Color 8] #00FFFF #00FFFF 0 255 255 [Cyan] |
|