ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

excel¬O§_¥i¥H¦³ÀH¾÷©â¼úªº¥\¯à

¦^´_ 31# kelsie

¿ý»s¥¨¶°
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

½Æ»s/¶K¤W­È
«O¯dµ²ªG
Luc µoªí©ó 2010-9-13 22:57



    ³o­Ó§Ú¤F¸Ñ¡ãÁÙ¬O·PÁ§Aªº¦^µª!

¦p¦ó¨Ï¥Îcommand¶s¨Ó¶i¦æ°õ¦æªº³¡¥÷©O?
¦pªG¤£·Q«öf9ªº¸Ü?

TOP

thx a lot!  let me try it
Sushi

TOP

½Æ»s/¶K¤W­È
«O¯dµ²ªG
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¥H¤W¨ü¥Î«Ü¦h~~

§Ú·Q½Ð°Ý~¦pªG§Ú·Q¥Î­Ócommend¶s¨Óµ¥©óF9ªº§ó·s
¸Ó¦p¦ó³]©w?

­Y¦b¦P¤@­Ó¤u§@ªí¤¤~¦³4¤j¶µ¶i¦æ©â¼ú~
²Ä¤@¶µ¤w©â¼ú¡A­Y¦b¶i¦æ²Ä¤G¶µ©â¼ú®É~
¥ÎF9§ó·s·|¦P¨B±N²Ä¤@¶µªº¼ú¶µ¦W³æ¤S¬~±¼¤F..
¸Ó¦p¦ó¶i¦æ³]©w©O??

TOP

¥H©T©w¦¸¼Æ¨Ó»¡¡A8¼Óªº°µªk¬O³Ì¦nªº¡A
¦h©ñ´X¤äÅÒ¡A¶Ã¼Æ±Æ§Ç«á¬D¥X«e­±ªº¶µ¥Ø¡C³o¼Ë´N¥i¥H¦¬¤u¤F¡C
¥t¤@ºØ¤è¦¡¬O³]©w¨CºØ¼ú¶µªº¾÷²v¤Î¨C­Ó¤Hªº¶Ã¼ÆÅv­«¡A¥Ñ¶W¹LªùÂe­Èªº¤H²Õ¦¨­Ô¿ï¦W³æ¡C
¦³ªºªø©x¤£»Ý­n¨º»ò¦Û°Ê¤Æ¡A·|·Q±q¦W³æ¬D... ©â¼ú¤]¬O«Ü±Ó·Pªº¥ô°È©O¡C

TOP

«D±`ÁÂÁÂPD961A¡Basimov¡Bivanyung¡BPD961A¡Bgong¤ÎGBKEE ¦U¦ì¥ý¶i­Ìªº¨ó§U¡A
¥Ø«eÃö©ó¦¹°ÝÃD¡A¥Ñ¦U¦ì¥ý¶i¨ó§UÀ°¦£¤U¡A¤wºî¦X¨ú±o¸û¨Îªº¨Ï¥Î¤è¦¡¡AÁÂÁ¤j®a!!

TOP

­n³]©w¦h©ó¤@­Ó¾÷·|, ¥Î¥¨¶°¤ñ¸û®e©ö³B²z

Prize.zip (7.88 KB)
  1. Sub jjj()
  2.    
  3.     Range("f1..h1000").Clear
  4.     Range("f1").Value = "id"
  5.     Range("g1").Value = "name"
  6.    
  7.    
  8.     k = 2   'first row to fill in value is 2.
  9.     For Each i In Range("c2:c1000")
  10.         For j = 1 To i.Value
  11.             Cells(k, 6).Value = i.Offset(, -2).Value
  12.             Cells(k, 7).Value = i.Offset(, -1).Value
  13.             Cells(k, 8).Value = Rnd()
  14.             k = k + 1
  15.         Next
  16.     Next
  17.    
  18.     Range("f1:h1000").Select
  19.     Selection.Sort Key1:=Range("h2"), Order1:=xlAscending, Header:=xlGuess, _
  20.         OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
  21.    
  22.     Range("h:h").Clear
  23. End Sub
½Æ»s¥N½X

TOP

¦^´_ 22# emma


­ì20¼Ó¦^ÂÐ I5 ¤§¤¤¼ú¤HID¤½¦¡¤Ö¤@­Ó°Ê§@
¥¿½T¬°=VLOOKUP(INT(RAND()*(COUNTA($B$2:$B$56)-COUNTA($F$2:$F$17)))+1,$A$2:$B$56,2,0)

¨Ì±z­×§ï«áªºÀÉ®× F22 ¤½¦¡¬°
=VLOOKUP(INT(RAND()*(COUNTA($B$2:$B$56)-COUNTA($I$2:$I$17)))+1,$A$2:$B$56,2,0)

¹ê»ÚÀ³¥Î,«Øij§R°£ BÄæ"§Ç¸¹"
§ï¥H"ID","·|­û½s¸¹"©Î"±m¨é¸¹½X"¨ú¥N
¦ý¶·ª`·N¥H¤W¤T¶µ³£¤£¥i­«½Æ
¦p¤@¤H¥i¦³¦h¦¸©â¼ú¾÷·|
«h¥H"±m¨é¸¹½X"¬°©y
ÀH¾÷©â¼ú´ú¸Õ(¤£­«½Æ)_1.zip (5.13 KB)

¾÷¾¹¤H¤T¤j©w«ß-«OÅ@¤HÃþ¡BªA±q©R¥O¡B«OÅ@¦Û¤v
§Úªº¤T¤j©w«ß-¥Í©R¡B¥Í¦s¡B¥Í¬¡

TOP

¦^´_ 22# emma


   

TOP

        ÀR«ä¦Û¦b : ¹ï¤÷¥À­nª¾®¦¡A·P®¦¡B³ø®¦¡C
ªð¦^¦Cªí ¤W¤@¥DÃD