- ©«¤l
- 519
- ¥DÃD
- 54
- ºëµØ
- 0
- ¿n¤À
- 595
- ÂI¦W
- 252
- §@·~¨t²Î
- win 10
- ³nÅ骩¥»
- []
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-3-19
- ³Ì«áµn¿ý
- 2024-11-19
|
¦^´_ 1# ten999
¸Õ¸Õ¬Ý¬O§_²Å¦X»Ý¨D
Sub test()
Dim i&, j%, n&, aa
With Sheets("Temp")
n = 1
For i = 1 To .Cells(65535, 1).End(xlUp).Row
If Trim(.Cells(i, "F")) = "ESVUFR" Then
aa = Split(Trim(.Cells(i, 1)), " ")
For j = 0 To UBound(aa)
If j = 0 Then
Sheets("¤W¥«").Cells(n, 1) = aa(0)
ElseIf Trim(aa(j)) <> "" Then
Sheets("¤W¥«").Cells(n, 2) = Trim(aa(j))
End If
Next
Sheets("¤W¥«").Cells(n, 3) = .Cells(i, 3).Value
Sheets("¤W¥«").Cells(n, 4) = .Cells(i, 5).Value
n = n + 1
End If
Next i
End With
End Sub |
|