- ©«¤l
- 6
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 58
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2016-7-24
|
¥»©«³Ì«á¥Ñ zv1122 ©ó 2016-7-14 00:43 ½s¿è
¦^´_ 2# GBKEE
·PÁª©¥D¦^´_
¤£¦n·N«ä¡A§Ú¥¨¶°ªì¾ÇªÌªí¹F±o¤£¦n¡Aª©¥D¨º¬q¦n¹³¸ò§Ú«ä¦Òªº¤£¦P
«á¨Ó¤gªk·Ò¿û¿ýªü¼gªü¼g¥X³o¬q¡AÀµ½ÐÀ°¬Ý¬Ý
ì·N¡G¸õ¨ì¬¡¶Ã¯A¡AA1¤u§@ªí¹Bºâ¡AA2¤u§@ªí¹Bºâ¡Aµ¥3¬í¡A±Æ§ÇA2¤u§@ªíªºJ1:N405¥HM2±Æ¡C
¸õ¨ì¬¡¶Ã¯B¡AB1¤u§@ªíªºDG:DHÄæ°µ¹Bºâ¡C
¸õ¨ì¬¡¶Ã¯A¡A¦pªGU1¤£¬OªÅ¥ÕÅý¥¨¶°°±¤î¡A§_«h¸õp®É¾¹«½Æ°µ¡C
PS 1.¨ºÓµ¥3¬í¬O¬°¤F¹Bºâ§¹¦A°µ±Æ§Ç¡A¦pªG¤Ó§Ö±Æ§Ç¦³¨ÇÀx¦s®æ¸ê®Æ¬OÁÙ¨S¹Bºâªº¤U¥h±Æ§Ç¡C
2.¨ä¹ê¬¡¶Ã¯¡B¤u§@ªí¤§¶¡¸õ¨Ó¸õ¥h¬O¤£¥²nªº°Ê§@¡A¦]¬°¥u·|¥Î¿ýªºµ²ªG¼g¦¨³o¼Ë¡CÀµ½Ð°ª¤âקïÀu¤Æ- Sub sort()
- Windows("A.xls").Activate
- Sheets("A1").Select
- Application.MaxChange = 0.001
- ActiveWorkbook.PrecisionAsDisplayed = False
- ActiveSheet.Calculate
- Sheets("A2").Select
- Application.MaxChange = 0.001
- ActiveWorkbook.PrecisionAsDisplayed = False
- ActiveSheet.Calculate
- Application.Wait Now + TimeValue("0:0:3")
- Range("J1:N405").sort Key1:=Range("M2"), Order1:=xlDescending, Header:= _
- xlYesGuess
- Windows("B.xls").Activate
- Sheets("B1").Columns("DG:DH").Calculate
- Windows("A.xls").Activate
- If Range("U1") <> "" Then Exit Sub
- Call Start
- End Sub
- Sub Start()
- t = Now + TimeValue("00:00:15")
- If Range("U1") <> "" Then Exit Sub
- Application.OnTime t, "sort"
- End Sub
½Æ»s¥N½X |
|