- ©«¤l
- 760
- ¥DÃD
- 250
- ºëµØ
- 0
- ¿n¤À
- 1023
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 11
- ³nÅ骩¥»
- OFFICE2021
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-5-30
- ³Ì«áµn¿ý
- 2024-11-28
|
¥»©«³Ì«á¥Ñ t8899 ©ó 2015-4-27 19:38 ½s¿è
§Ú¸Õ¥X¨Ó¤F, ¤£ª¾¦³µL¸û²«K(§Ö³t)ªº¤èªk ? ¬õ¦â³¡¥÷¤S¦h¶]¤@¦¸??
¥Øªº¡A§â ddd ¸Ì± ¤j©ó 2.8ªº¦r(row) Åܦâ
Sub test()
Dim ddda(1 To 8)
For ou = 1 To 8
If Sheets("Sheet3").Cells(ou, "b") > 2.8 Then
ddd = ddd & Format(Sheets("Sheet3").Cells(ou, "b").Row, "00") & ","
ddda(ou) = Format(Sheets("Sheet3").Cells(ou, "b").Row, "00")
Else
ddd = ddd & Format(Sheets("Sheet3").Cells(ou, "b").Row, "00") & ","
End If
Next
Range("c65536").End(xlUp).Offset(1) = ddd
Dim pp
For pp = 1 To Len(ddd)
For ou = 1 To 8
If Mid(ddd, pp, 2) = ddda(ou) Then
Range("c65536").End(xlUp).Offset(0).Characters(pp, 2).Font.ColorIndex = 7
End If
Next
pp = pp + 2
Next
End Sub
Book2.zip (8.18 KB)
|
|