°Æµ{¦¡/if§PÂ_¤£¨ì/½Ð¨D¸Ñ´b
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2013-10-20 21:18 ½s¿è
¦^´_ 5# ³Ì°ª¾÷±K
§A»~·|¤F.
2# ©Ò»¡ ¶·©ó¥Dµ{¦¡¦¡ªº¼Ò²Õ¤¤ªº³»ºÝ PUBLIC X,Y ³]¬°¤½¥ÎÅÜ¼Æ ·N«ä¬OÅܼÆn¦b Model ¤¤¥H Public ¨Ó©w¸q:
¥H¤Uµ{¦¡©ñ¦b Model ¼Ò²Õ¤¤ :¥t§Aªº If x > Cells(a, 1) <= y Then «hn§ï¬°
If x > Cells(a, 1) And Cells(a, 1) <= y Then
©³¤U¥H§A 1# ªºµ{¦¡¬°¨Ò×§ï :- Sub trend()
- x = InputBox("¿é¤J²Ä¤@¤Ñ")
- y = InputBox("¿é¤J³Ì«á¤@¤Ñ")
- For a = 2 To 486
- Call aa(a)
- Next a
- End Sub
- Sub aa(ByVal a As Integer)
- For b = 9 To 32
- If x > Cells(a, 1) And Cells(a, 1) <= y Then
- Cells(a, b + 25) = Cells(a + 2, 2) - Cells(a + 1, 2)
- Else
- Cells(a, b + 25) = Cells(a + 1, 2) - Cells(a + 2, 2)
- End If
- c = Cells(a, b + 25)
- d = d + c
- Cells(489, b + 25) = d
- e = Cells(1, b + 25)
- Cells(488, b + 25) = e
- Next
- c = 0
- Cells(1, b + 25) = Cells(1, b)
- End Sub
½Æ»s¥N½X
±MÃD½d¥»0917 (§ï)-a.zip (45.87 KB)
|
|
|
|
|
|
|