- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 1# chiang0320
´£°Ý¡G "2. ¦pªG±ø¥ó§ï¦¨¤p©ó2ªºÀx¦s®æ¿ï¨ú¡A·|Åã¥Ü¿ù»~"
·Ó§A¼gªº»yªk¬Ý¨Ó¤@©w·|¥X°ÝÃDªº¡A¦]¬°§Aªº "B Äæ¦ì" ¤¤
¨ÃµL±ø¥ó¤p©ó2 ªº COUNT¡A ©Ò¥H Target Åܼƫh±q«Å§i¬°
Range «á¤@ª½¨ì°j°éµ²§ô¡A¥¼¸g²§°Ê (³B²z)¡A¨ÌµM«O¯d¬°¨äªì©lÈ¡C
±µµÛ·í§A°õ¦æ Target.Select ®É¡A«h¤@©w·|²£¥Í¿ù»~°T®§¡C ±N§ï¦¨- If Not Target Is Nothing Then Target.Select
½Æ»s¥N½X ¦Ü©ó±N Target Äæ§ï¦¨³]©w¬°¦C¡G- If Target Is Nothing Then
- Set Target = Cells(i, "B")
- Else
- Set Target = Union(Target, Cells(i, "B"))
- End If
½Æ»s¥N½X ´«¦¨- If Target Is Nothing Then
- Set Target = Rows(i)
- Else
- Set Target = Union(Target, Rows(i))
- End If
½Æ»s¥N½X ´N¥i¦æ¤F¡C |
|