½Ð°Ý«ç»òÅý¥¨¶°°õ¦æ¦¸¼Æ=¬YÓÀx¦s®æ¤¤ªºÈ
- ©«¤l
- 117
- ¥DÃD
- 34
- ºëµØ
- 0
- ¿n¤À
- 155
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-19
- ³Ì«áµn¿ý
- 2024-8-29
|
½Ð°Ý«ç»òÅý¥¨¶°°õ¦æ¦¸¼Æ=¬YÓÀx¦s®æ¤¤ªºÈ
¥»©«³Ì«á¥Ñ color790 ©ó 2011-6-30 13:20 ½s¿è
½Ð°Ý
¦pªG·Q±N¸Ó¥¨¶°°µX¦¸, X =¤u§@ªí1.Cells(a, 2)ªºÈ¸Ó«ç»ò¥[¶i¥h, ©Î¬O¥i¥H«ç»òקï¤ñ¸û¦n~ ÁÂÁ¦U¦ì¥ý¶i
Sub AA()
a = ¤u§@ªí1.[A1].End(xlDown).Row
b = ¤u§@ªí1.Cells(a, 5)
Select Case b
Case "AAA"
For i = 2 To ¤u§@ªí3.[A1].End(xlDown).Row
For j = 2 To 5
If ¤u§@ªí3.Cells(i, j) = "" Then
¤u§@ªí3.Cells(i, j) = ¤u§@ªí1.Cells(a, 1)
¤u§@ªí3.Cells(i + 1, j) = ¤u§@ªí1.Cells(a, 1)
Exit Sub
End If
Next
Next
Case "BBB"
For i = 2 To ¤u§@ªí3.[A1].End(xlDown).Row
For j = 2 To 5
If ¤u§@ªí3.Cells(i, j) = "" Then
¤u§@ªí3.Cells(i, j) = ¤u§@ªí1.Cells(a, 1)
Exit Sub
End If
Next
Next
End Select
End Sub |
|
ªì¾ÇªÌcolor
|
|
|
|
|
- ©«¤l
- 172
- ¥DÃD
- 39
- ºëµØ
- 20
- ¿n¤À
- 177
- ÂI¦W
- 0
- §@·~¨t²Î
- Microsoft Windows XP
- ³nÅ骩¥»
- Microsoft Office 2003
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2023-3-19
|
¥»©«³Ì«á¥Ñ Min ©ó 2011-7-1 06:37 ½s¿è
Sub AA()
for cnt= 1 to ¤u§@ªí1.Cells(a, 2)
a = ¤u§@ªí1.[A1].End(xlDown).Row
b = ¤u§@ªí1.Cells(a, 5)
Select Case b
Case "AAA"
.
.
.
.
next cnt
End Sub
©Î¬O¦b¼gÓSUB
Sub AA2()
for cnt= 1 to ¤u§@ªí1.Cells(a, 2)
call aa
next cnt
End Sub |
|
Y¬O§Ú¦^µª¡A¨Ï±zº¡·N¡A½Ð±zÅý§Úª¾¹D¡I
Y¬O§Úªº¦^ÂСA±z¤´¦³¨ä¥L¨£¸Ñ¡A¤]½Ð±z¤£¶Þ«ü±Ð¡I
|
|
|
|
|
- ©«¤l
- 117
- ¥DÃD
- 34
- ºëµØ
- 0
- ¿n¤À
- 155
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-19
- ³Ì«áµn¿ý
- 2024-8-29
|
Sub AA()
for cnt= 1 to ¤u§@ªí1.Cells(a, 2)
a = ¤u§@ªí1.[A1].End(xlDown).Row
b = ¤u§@ªí1.Cells(a, ...
Min µoªí©ó 2011-7-1 06:35
³á~ì¨Ó°´N¥i¥H¤F, ¯u¬O¤Ó·PÁ§A¤F, ¤]ÁÂÁª©¥Dªº¦^ÂÐ |
|
ªì¾ÇªÌcolor
|
|
|
|
|