- ©«¤l
- 58
- ¥DÃD
- 9
- ºëµØ
- 0
- ¿n¤À
- 117
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2017-12-2
- ³Ì«áµn¿ý
- 2021-12-16
|
[µo°Ý] vbaªº¿z¿ï¥\¯à (¨ú®ø³¡¤À¿z¿ï)
¦p¦ó¨ú®ø³¡¤À¤w³Q¿z¿ïªº¿ï¶µ
¿z¿ïÁ`¦@¤À¦¨«e«á°Ï¬q¡A¤À§O¬O1~49 & 51~99¡A50ªº¦ì¸m¬O¤¤¶¡¤À®æ
»Ý¨D¬O¦b¤£¼vÅT51~99³Q¿z¿ïªº³¡¤À¡A±N1~49¥þ³¡§ï¬°"¥þ³¡"´N¬Oì©l¥¼¿z¿ïªºª¬ºA¡A¤Ï¤§¥çµM¡C
sub ¿z¿ï«eºÝ ()
Dim var_min, var_max,i, j, s As Integer
var_min = 1 '«e¥b¬q°_
var_max = 49 '«e¥b¬q¨´
For i = var_min To var_max
i = i + 1
Selection.AutoFilter Field:=i
Next i
End Sub
sub ¿z¿ï«áºÝ ()
Dim var_min, var_max,i, j, s As Integer
var_min = 51 '«á¥b¬q°_
var_max = 99 '«á¥b¬q¨´
For i = var_min To var_max
i = i + 1
Selection.AutoFilter Field:=i
Next i
End Sub ¥Ñ¿ý»s¥i¥H±o¨ì¡A¤@¯ëªº¿z¿ï«ü¥O¬O
Selection.AutoFilter Field:=5, Criteria1:="W" '±N²Ä5Äæ¿z¿ï¬°W
¦ý¬O¿ï¾Ü¨ú®ø¸ÓÄæ¦ìªº¿z¿ï¡A¿ï¾Ü¥þ³¡«h¥u·|¬O
Selection.AutoFilter Field:=i
'±q¿ý»s¬Ý°_¨Ó¨S¦³µ¹«á±³o¦ê«ü©wÈ´N¬O¥þ³¡¤F
'±N¸Ó®æ¿z¿ï¬°"¥þ³¡"
©Ò¥H¦³¤F¤W±ªºµ{¦¡½X¡A¦ý¬Ý°_¨Ó¬O¨S¦³®ÄªGªº¡C
·Q½Ð°Ý¨ú®ø¿z¿ïªº«ü¥O¬O? (Criteria1:= ?)
ÁÙ¦³¦pªG¤£¥Î°j°é¦³ª½±µ¿ï¨ú½d³òªº¤èªk¶Ü?
©Î¬O¥u¯à¥Î°j°é¡A¦³¥Î¤å¦r¦Ó«DÄæ¦ì¼Æªº¤èªk?
¹³¥Ø«e1~49¨ä¹ê¬OA~AX¡A51~99¨ä¹ê¬OAY~CU
¥i¥Hª½±µ«ü©w¤å¦r¤U¥h°j°é¶Ü?
²¦³ºª½±µ¬Ý¨ìªº¬O¤å¦r¡A¤ñ¦A¥h´«ºâ¼Æ¦rª½Æ[¡C |
|