- ©«¤l
- 463
- ¥DÃD
- 116
- ºëµØ
- 0
- ¿n¤À
- 580
- ÂI¦W
- 0
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-4
- ³Ì«áµn¿ý
- 2017-11-13
|
¦^´_ 2# mistery
¦U¦ì«e½ú§A̦n!
³oÓ°ÝÃDªºµ{¦¡²×©ó«÷´ê§¹¦¨
Sub ½Æ»s()
Dim F As Range, A As Range
Again:
ZZ = Application.InputBox("½Ð¿é¤J¦C¼Æ", "½Ð¿é¤J½Æ»s©Ò»ÝÄæ¼Æ", 10, Type:=2)
If ZZ = "" Or ZZ = False Then End
Range("B1") = ZZ
If ZZ <= 1 Then
MsgBox "Äæ¼Æ¤£±o¤p©ó¢°¦C¡I¡I¡I", , "Äæ¼Æ¿ù»~½Ð«·s¿é¤J ¡I¡I"
GoTo Again
End If
With ActiveSheet
Set F = .Rows(1).Cells.Find(.Cells(1, ActiveCell.Column))
Set F = .Range(F.Offset(0), F.Offset(0, ZZ).End(xlDown))
End With
Set A = Sheet2.[IV1].End(xlToLeft).Offset(, 1)
F.Copy A
End Sub
Sub §R°£()
Again:
ZZ = Application.InputBox("½Ð¿é¤J¦C¼Æ", "½Ð¿é¤J½Æ»s©Ò»ÝÄæ¼Æ", 10, Type:=2)
If ZZ = "" Or ZZ = False Then End
Range("B1") = ZZ
If ZZ <= 1 Then
MsgBox "Äæ¼Æ¤£±o¤p©ó¢°¦C¡I¡I¡I", , "Äæ¼Æ¿ù»~½Ð«·s¿é¤J ¡I¡I"
GoTo Again
End If
With ActiveSheet
Set F = .Rows(1).Cells.Find(.Cells(1, ActiveCell.Column))
Set F = .Range(F.Offset(0), F.Offset(0, ZZ).End(xlDown))
End With
F.Delete
End Sub
ÁÂÁ¤j®a!! |
|