- ©«¤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
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-4-20 13:46 ½s¿è
¦^´_ 2# freeffly
°õ¦æ ²¾°Êµ{§Ç «á «ö [Tab] Áä ¥i¤@¤@À˵ø- Option Explicit
- Sub ²¾°Ê()
- Dim Rng As Range, n As Integer
- n = 2 'ActiveCell.Row
- Do Until Cells(n, 6) = "" 'ªÅ¥Õ
- If Cells(n, 6) < 0 Then 'tÈ
- If Rng Is Nothing Then 'RngÅܼƥ¼³]¸m®É
- Set Rng = Cells(n, 6) 'RngÅܼƳ]¸m¬°Cells(n, 6)
- Else
- Set Rng = Union(Rng, Cells(n, 6)) ' Union ¤èªk ¶Ç¦^¨âөΦhÓ½d³òªº¦X¨Ö½d³ò¡C
- End If
- End If
- n = n + 1
- Loop
- Rng.Select '¥þ³¡tȪº½d³ò
- End Sub
½Æ»s¥N½X |
|