¥»©«³Ì«á¥Ñ VBALearner ©ó 2016-7-31 23:53 ½s¿è
Excel VBAªº°ÝÃD
½Ð°Ý¦pªG§Ú¦³Ó¤@ºû°}¦C
¸Ì±¦³10ӼƦr¤À§O¹ïÀ³°}¦C(1~10)
°²³]§Ú¤µ¤Ñn±Æ§Ç°}¦C¤¤¼ÆȤj¨ì¤p
¨º§Ún¦p¦óª¾¹D±Æ¦W«e5¤j¼ÆȪºì©l¼ÐÅÒ(´N¬O쥻ªº1~10±Æ§Ç³Q¥´¶Ã«á ¦p¦ó©I¥s)?
·PÁ¦^µª- option explicit
- dim total(50) as variant
- for i = 1 to 50
- total(i) = application.worksheetfunction.sum(range(cells(i,1),cells(i,10)))
- next
- sorting....%#$?!
- index of top 20?!
½Æ»s¥N½X ©Î¬O¦³¨ä¥L§ó¦nªº¤è¦¡?! |