¡@¼ÊºÙ: ªü¦õ ¡@ÀY»Î: ¤W¯ZµL²á¥´©Ç¥h
¤¤¾Ç¥Í
- ©«¤l
- 108
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 113
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »OÆW
- µù¥U®É¶¡
- 2017-9-7
- ³Ì«áµn¿ý
- 2019-2-27
|
¦^´_ 1# jeff5424
ì¥ý§Aªº°}¦C¬O¥Ñ¥ª¦Ü¥k¡B¥Ñ¤W¨ì¤U¥h½s¿èÅܼơA
§ÚÀ°§A§â¤W¨ì¤U½s¿èÅܼƪº¤è¦¡µy·L½Õ¾ã¤@¤U¡A
ק令·|¨Ì¾Ú¤W¤@Óªº¼ÆÈ¡A
°µ¥¿t0.5ªº½Õ¾ã¡A
µ{¦¡½X¦p¤U¡A
½Ð°Ñ¦Ò¡C- Sub test()
- Randomize
- Dim arr(1 To 15, 1 To 20)
- v = 20
- For r = 2 To 16
- tpm = Cells(r, 3).Value * 2 + 0.1
- nt = Cells(r, 2).Value - Cells(r, 3).Value
- For j = 1 To UBound(arr, 2)
- arr(1, j) = nt + Round(Rnd * tpm, 1)
- For i = 2 To UBound(arr)
- arr(i, j) = arr(i - 1, j) + Round(0.5 - Rnd, 1)
- Next i
- Next j
- Cells(v, 3).Resize(UBound(arr), UBound(arr, 2)) = arr
- v = v + 18
- Next r
- End Sub
½Æ»s¥N½X
³]©w«ü©w½d³ò¶Ã¼Æ¥¿t0.5¤º.rar (53.82 KB)
|
|