Excel VBA «ü©wÀx¦s®æȬ°¿z¿ï±ø¥ó
- ©«¤l
- 6
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 8
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2016-5-12
- ³Ì«áµn¿ý
- 2016-5-20
|
Excel VBA «ü©wÀx¦s®æȬ°¿z¿ï±ø¥ó
¦U¦ì¦n¡A¤p§Ì³Ìªñ¤~¾ÇVBA¡A¯à¤O¤£¤~ ¦h¥b³£¨Ï¥Î¿ý»s¥\¯à¡Aªñ´Á¹J¨ì¤@¨ÇµLªk¿ý»sªº»y¨¥
¦pªþ¥ó©Ò¥Ü¡A¤p§Ì¦AA1(G2)¦³³]¤U©Ô¿ï³æ¡A±æ³z¹LVBAÂà´«¦¨A2¼Ò¼Ë
¤£¥Î³z¹L¿z¿ï¥\¯à¡AÁÂÁ |
|
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 1# pkpk456789
¤£¥Î³z¹L¿z¿ï¥\¯à?
¥ÎÁôÂæC©O- Sub Test()
- Dim ar, filter As String
- filter = ActiveSheet.[G2].Value
-
- Application.ScreenUpdating = False
- With ActiveSheet.[C4].CurrentRegion
- For i = UBound(.Value) To 2 Step -1
- .Rows(i).EntireRow.Hidden = (.Cells(i, 1).Value <> filter)
- Next
- End With
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |
|
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C
|
|
|
|
|
- ©«¤l
- 6
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 8
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2016-5-12
- ³Ì«áµn¿ý
- 2016-5-20
|
¦^´_ 2# stillfish00
·PÁ¤j¯«¦^ÂСAÁôÂæC³o©Û§ÚÁÙ¯uªº¨S·Q¹L:D |
|
|
|
|
|
|