- ©«¤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¸Õ¸Õ
¤u§@ªí2.[A1:G65536].ClearContents
X = ¤u§@ªí1.[A65536].End(xlUp).Row
Y = ¤u§@ªí2.[A65536].End(xlUp).Row
For M = 1 To X
If ¤u§@ªí1.Cells(M, 1) = TextBox1.Value Then
¤u§@ªí2.Cells(Y + 1, 1).Resize(, 7).Value = ¤u§@ªí1.Cells(M, 1).Resize(, 7).Value
Y = Y + 1
End If
Next
Private Sub CommandButton2_Click()
Label15.Caption = ""
Label16.Caption = ""
Label17.Caption = ""
Label18.Caption = ""
Label19.Caption = ""
Label20.Caption = ""
Label21.Caption = ""
Label22.Caption = ""
Label23.Caption = ""
Label24.Caption = ""
Label25.Caption = ""
qq = 1
yy = 1
¤u§@ªí2.[A1:G65536].ClearContents
X = ¤u§@ªí1.[A65536].End(xlUp).Row
Y = ¤u§@ªí2.[A65536].End(xlUp).Row
For M = 1 To X
If ¤u§@ªí1.Cells(M, 1) = TextBox1.Value Then
¤u§@ªí2.Cells(Y + 1, 1).Resize(, 7).Value = ¤u§@ªí1.Cells(M, 1).Resize(, 7).Value
Y = Y + 1
End If
Next
Do '±Nsheet1¬d¸ß¨ìªº¸ê®Æ°e¨ìsheet2
If Sheets(1).Cells(qq, 1) = TextBox1.Text Then
Label15.Caption = Sheets(1).Cells(qq, 2)
Label16.Caption = Sheets(1).Cells(qq, 3)
Label17.Caption = Sheets(1).Cells(qq, 5)
Label18.Caption = Sheets(1).Cells(qq, 4)
Label19.Caption = Sheets(1).Cells(qq, 6)
Label20.Caption = Sheets(1).Cells(qq, 7) |
|