- ©«¤l
- 561
- ¥DÃD
- 160
- ºëµØ
- 0
- ¿n¤À
- 725
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS
- ³nÅ骩¥»
- xp
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2014-9-10
- ³Ì«áµn¿ý
- 2024-8-7
|
¦p¤U¸Õ¸Õ
Sub Âà¸m()
Sheet1.[J3:N65536].ClearContents
X = Sheet1.[B65536].End(xlUp).Row
Y1 = Sheet1.[J65536].End(xlUp).Row
Y2 = Sheet1.[K65536].End(xlUp).Row
Y3 = Sheet1.[L65536].End(xlUp).Row
Y4 = Sheet1.[M65536].End(xlUp).Row
Y5 = Sheet1.[N65536].End(xlUp).Row
For M = 3 To X
If Sheet1.Cells(M, 3) = "¤@" Then
Sheet1.Cells(Y1 + 1, 10) = Sheet1.Cells(M, 2)
Y1 = Y1 + 1
End If
If Sheet1.Cells(M, 3) = "¤G" Then
Sheet1.Cells(Y2 + 1, 11) = Sheet1.Cells(M, 2)
Y2 = Y2 + 1
End If
If Sheet1.Cells(M, 3) = "¤T" Then
Sheet1.Cells(Y3 + 1, 12) = Sheet1.Cells(M, 2)
Y3 = Y3 + 1
End If
If Sheet1.Cells(M, 3) = "¥|" Then
Sheet1.Cells(Y4 + 1, 13) = Sheet1.Cells(M, 2)
Y4 = Y4 + 1
End If
If Sheet1.Cells(M, 3) = "¤" Then
Sheet1.Cells(Y5 + 1, 14) = Sheet1.Cells(M, 2)
Y5 = Y5 + 1
End If
Next
End Sub |
|