- ©«¤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# ji12345678
קï§Aªºµ{¦¡½X- Option Explicit
- Sub Ex()
- Dim myRng1 As Range, myRng2 As Range, myRow As Variant
- Set myRng1 = Columns("C") '·j´M¨Ó·½½d³ò
- Do
- myRow = Application.Match("§ø¤W", myRng1, 0) '·j´M¨ì¶Ç¦^¼Æ¦r §ä¤£¨ì¶Ç¦^¿ù»~È
- If IsError(myRow) Then
- MsgBox "¨S¦³§ä¨ì²Å¦X±ø¥óªºÀx¦s®æ"
- Else
- Set myRng2 = myRng1.Cells(myRow)
- Set myRng1 = Range(myRng2.Offset(1), Cells(Rows.Count, "C")) '·j´M¨Ó·½½d³ò
- MsgBox myRng2.Address
- End If
- Loop Until IsError(myRow) '°õ¦æ°j°é, ª½¨ì¦³¿ù»~È: Â÷¶}°j°é
- End Sub
½Æ»s¥N½X |
|