- ©«¤l
- 169
- ¥DÃD
- 41
- ºëµØ
- 0
- ¿n¤À
- 219
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN10
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-7-31
- ³Ì«áµn¿ý
- 2023-9-15
|
¸ê®Æ¿z¿ï°ÝÃD
Private Sub CommandButton1_Click()
'²M°£ªí³æÃC¦â
Range("A5:Q200").Select
ActiveWindow.ScrollColumn = 1
ActiveWindow.SmallScroll Down:=-18
Selection.Interior.ColorIndex = xlNone
'¿z¿ïªí³æ
Sheets("·JÁ`ªí").Range("A2:H3600").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Sheets("¿z¿ï°Ï").Range( _
"A1:B2"), CopyToRange:=Range("A4:H3600"), Unique:=False
ActiveWindow.SmallScroll Down:=-12
'±Æ§Ç
Range("A4:H3600").Select
ActiveWindow.SmallScroll Down:=-60
Selection.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
Range("F2").Select
End Sub
Private Sub CommandButton4_Click()
'²M°£ªí³æÃC¦â
Range("A5:Q200").Select
ActiveWindow.ScrollColumn = 1
ActiveWindow.SmallScroll Down:=-18
Selection.Interior.ColorIndex = xlNone
'¿z¿ïªí³æ
Sheets("·JÁ`ªí").Range("A2:H3600").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Sheets("¿z¿ï°Ï").Range( _
"A1:D2"), CopyToRange:=Range("A4:H3600"), Unique:=False
ActiveWindow.SmallScroll Down:=-12
'±Æ§Ç
Range("A4:H3600").Select
ActiveWindow.SmallScroll Down:=-60
Selection.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
Range("F2").Select
End Sub
¦bªí³æ¤¤¤G¼h¸ê®Æ¿z¿ï¬°¦ó¿z¿ïȳt«×ÅܫܺC¡A¤£ª¾¦ó³B¥X¤F°ÝÃD¡A¤j¤j¬O§_À°¸Ñµª¡H |
-
-
¥¼©R¦W.jpg
(39.63 KB)
|