- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# wantknow55 - Option Explicit
- Sub Ex()
- Dim BoxRow As Variant, BoxWord As Variant
- BoxWord = Application.InputBox("¿é¤J½s¸¹", Type:=3)
- If BoxWord = False Then Exit Sub
- BoxRow = Application.Match(BoxWord, Sheets("Sheet1").Columns(3), 0)
- 'Match¨ç¼Æ¶Ç¦^¦bSheets("Sheet1").Columns(3)¤¤²Ä¤@Ó=½s¸¹ªº¦ì¸m¸¹¼Æ
- If IsNumeric(BoxRow) Then 'Match¨ç¼Æ¦³§ä¨ì¶Ç¦^¼Æ¦r,¤Ï¤§¶Ç¦^¿ù»~È
- With Sheets("Sheet2").Range("A65536").End(xlUp).Offset(1)
- .Resize(, 3) = Sheets("Sheet1").Cells(BoxRow, 1).Resize(, 3).Value
- End With
- Else
- MsgBox BoxWord & " ½s¸¹§ä¤£¨ì !!"
- End If
- End Sub
½Æ»s¥N½X |
|