²M°Ý ¤u§@ªí n«ü©w¶K¨ì¯S©w¤À¶ ¤U±µ{¦¡n«ç»òקï
- ©«¤l
- 78
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 109
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2014-5-15
- ³Ì«áµn¿ý
- 2018-9-16
|
²M°Ý ¤u§@ªí n«ü©w¶K¨ì¯S©w¤À¶ ¤U±µ{¦¡n«ç»òקï
¦U¦ì¤j¤j
Sub test()
Dim row_s1 As Integer
'Àˬd¤u§@ªí1ªºBÄæ¤w¦³¸ê®Æ¦æ¼Æ
row_s1 = Worksheets(1).Range("B65535").End(xlUp).Row
'B1µL¸ê®Æ®É¡Arow_s1 =0
If row_s1 = 1 Then
If Cells(row_s1, 2) = "" Then
row_s1 = 0
End If
End If
'²Ä¤@¦¸¿ï¸ê®Æ0¡A¨Ã¶K¨ì¤u§@ªí1
Worksheets(2).Select
ActiveSheet.Range("$A$1:$D$10").AutoFilter Field:=2, Criteria1:="0"
Range("a2:d9").Select
Selection.Copy
Worksheets(1).Select
Cells(row_s1 + 1, 2).Select
ActiveSheet.Paste
'²Ä¤G¦¸¿ï¸ê®Æ1¡A¨Ã¶K¨ì¤u§@ªí1
row_s1 = Worksheets(1).Range("B65535").End(xlUp).Row
Worksheets(2).Select
ActiveSheet.Range("$A$1:$D$10").AutoFilter Field:=2, Criteria1:="1"
Range("a2:d9").Select
Selection.Copy
Worksheets(1).Select
Cells(row_s1 + 1, 2).Select
ActiveSheet.Paste
¦pªG§Úªº¬O¤u§@¶. n¶K¤Wªº¤u§@ªí¦WºÙ¬° ¤ÀªR¸ê®Æ¶
½Ð°Ý³on«ç»òקï©O
·PÁ¤j¤j |
|
|
|
|
|
|
- ©«¤l
- 21
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2015-3-13
- ³Ì«áµn¿ý
- 2024-5-2
|
±z¦n! ¥H¤U´£¨Ñ¤u§@ï¿ï¾Ü®Éªº¼gªk
|
|
|
|
|
|
|
- ©«¤l
- 78
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 109
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2014-5-15
- ³Ì«áµn¿ý
- 2018-9-16
|
Sub test()
Dim row_s1 As Integer
'Àˬd¤u§@ªí1ªºBÄæ¤w¦³¸ê®Æ¦æ¼Æ
row_s1 = Worksheets("¤ÀªR¸ê®Æ").Range("B65535").End(xlUp).Row
'B1µL¸ê®Æ®É¡Arow_s1 =0
If row_s1 = 1 Then
If Cells(row_s1, 2) = "" Then
row_s1 = 0
End If
End If
'²Ä¤@¦¸¿ï¸ê®Æ0¡A¨Ã¶K¨ì¤u§@ªí1
Worksheets("¤u§@ªí2").Select
ActiveSheet.Range("$A$1D$10").AutoFilter Field:=2, Criteria1:="0"
Range("a2:d9").Select
Selection.Copy
Worksheets("¤ÀªR¸ê®Æ").Select
Cells(row_s1 + 1, 2).Select
ActiveSheet.Paste
'²Ä¤G¦¸¿ï¸ê®Æ1¡A¨Ã¶K¨ì¤u§@ªí1
row_s1 = Worksheets("¤ÀªR¸ê®Æ").Range("B65535").End(xlUp).Row
Worksheets("¤u§@ªí2").Select
ActiveSheet.Range("$A$1D$10").AutoFilter Field:=2, Criteria1:="1"
Range("a2:d9").Select
Selection.Copy
Worksheets("¤ÀªR¸ê®Æ").Select
Cells(row_s1 + 1, 2).Select
ActiveSheet.Paste
End Sub
¥Î¦n¤F ÁÂÁ |
|
|
|
|
|
|