- ©«¤l
- 65
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 87
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS10
- ³nÅ骩¥»
- 2019
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-7-26
- ³Ì«áµn¿ý
- 2024-1-31
|
[µo°Ý] ¬d¸ß´£¥Ü°ÝÃD(¥H¸Ñ¨M¡A·PÁÂGBKEEªºÀ°¦£)
¥»©«³Ì«á¥Ñ olisun ©ó 2010-8-10 12:14 ½s¿è
§Ú§Æ±æ·í¬d¸ß¶g¦¸©|¥¼¿é¤J®É¡A¯à°÷¦b¬d¸ßªº®ÉÔ·|¥X²{"µL¦¹¶g¦¸"¡A¨ÃÂ÷¶}¦¹µ{§Ç
¦pªGn¬d¸ßªº¶g¦¸¦s¦b¡A«hÄ~Äòµ{§Ç
¤£ª¾þ¿ù¤F¡A´N¬O¦³°ÝÃD
Private Sub CommandButton1_Click() '¬d¸ß
Dim a As Integer
Dim b As Range
Dim t As Range
Dim r As Range
Sheets(5).Range("f4:g37") = ""
Sheets(5).Range("j4:k37") = ""
Sheets(5).Range("n4 37") = ""
Sheets(5).Range("a5") = ""
Sheets(5).Range("a29") = ""
Sheets(5).Range("a35") = ""
a: czxm = InputBox("¿é¤J¬d¸ß¶g¦¸!")
With Sheets("ªì¬Ý¥¼ÁÊì¦]")
Set r = .Range("A4:A" & .Range("A65536").End(xlUp).Row)
On Error Resume Next
d = .Cells(.Range("A4:A").Find(czxm).Row, 1)
If d = czxm Then
MsgBox "µL¦¹¶g¦¸", 0
Exit Sub
End If
End With
With Sheets(5)
Set c = Sheets(2).Range("A:A").Find(czxm, lookat:=xlWhole)
If Not c Is Nothing And czxm > "1" Then
Sheets(5).Range("a5").Value = czxm
Sheets(5).Range("a29").Value = Sheets(2).Cells(c.Row, 2).Value '¤é´Á
.Range("a35").Value = .Range("a29").Value + 6 '¤é´Á
Arr = Sheets(2).[a4].Resize(c.Row - 4, 36) '¼W¥[
Arr1 = Sheets(3).[a4].Resize(c.Row - 4, 36) '¼W¥[
Arr2 = Sheets(4).[a4].Resize(c.Row - 4, 36) '¼W¥[ |
|