| ©«¤l561 ¥DÃD160 ºëµØ0 ¿n¤À725 ÂI¦W0  §@·~¨t²ÎWINDOWS ³nÅ骩¥»xp ¾\ŪÅv50 ©Ê§O¨k ¨Ó¦Û®ç¶é µù¥U®É¶¡2014-9-10 ³Ì«áµn¿ý2024-8-7 
   
 | 
                
| dear  all ¤j¤j ´M§ä«e½ú½d¨Ò.¤w§ä¥Xµª®×¦p¤U  thanks*10000
 
 Sub Ex()
 Sheet6.Visible = True
 Sheet6.Select
 Range("A1").Select
 Sheet6.[A2:C65536].ClearContents
 Dim R As Long, C As Long, Cmax As Integer
 With ActiveSheet.Range("A1").CurrentRegion
 .Cells.Interior.ColorIndex = xlNone
 For R = 2 To .Rows.Count
 C = 5
 Do While C <= .Columns.Count
 Cmax = 0
 Do While .Cells(R, C + Cmax) <> ""
 Cmax = Cmax + 1
 Loop
 If Cmax >= 5 Then .Cells(R, 1).Value = "T"
 C = C + 1 + Cmax
 Loop
 Next
 
 For R = 2 To .Rows.Count
 C = 5
 Do While C <= .Columns.Count
 Cmax = 0
 Do While .Cells(R, C + Cmax) <> ""
 Cmax = Cmax + 1
 Loop
 If Cmax >= 6 Then .Cells(R, 2).Value = "T"
 C = C + 1 + Cmax
 Loop
 Next
 
 For R = 2 To .Rows.Count
 C = 5
 Do While C <= .Columns.Count
 Cmax = 0
 Do While .Cells(R, C + Cmax) <> ""
 Cmax = Cmax + 1
 Loop
 If Cmax >= 7 Then .Cells(R, 3).Value = "T"
 C = C + 1 + Cmax
 Loop
 Next
 
 End With
 End Sub
 | 
 |