°Æµ{¦¡/if§PÂ_¤£¨ì/½Ð¨D¸Ñ´b
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
°Æµ{¦¡/if§PÂ_¤£¨ì/½Ð¨D¸Ñ´b
¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-10-20 16:52 ½s¿è
³o¬O§Úªº¸ê®ÆÀÉ
http://cht.tw/h/nmaeu
·í§Ú¶]µ{¦¡®É¡A¤£ºÞ§Ú¿é¤J¤°»òÈ¡Aµ{¦¡¥Ã»·¶]for a=2 to 486
¨Ã¤£·|¶]§Ú³]©wªºif±ø¥ó¡A§Ú¦³¸ÕµÛ¥Îwhile¶]¦ý·|·í¾÷(¥i¯à¤£¯à³o¼Ë§a)
¤£ª¾¹Dþ¸Ì¥X¿ù¤F¡A§ï¤F«Ü¤[ÁÙ¬O§ï¤£¥X¨Ó¡C
³Â·Ð¤j®vÌÀ°ªì¾ÇªÌ§Ú¤p§Ì¸Ñµª¡A·P¿E¤£¶i |
-
-
°ÝÃD.JPG
(33.84 KB)
|
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
¦^´_ 2# GBKEE
ÁÂÁ§Aªº«üÂI
§Ú¥[¤F§A¨º¬q«á¡A¥L»¡n³]©wª«¥ó?¬On¦A¥[þ¨Çµ{¦¡½X¶Ü? |
|
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 3# ³Ì°ª¾÷±K - Public X, Y
- Sub trend()
- X = InputBox("¿é¤J²Ä¤@¤Ñ")
- Y = InputBox("¿é¤J³Ì«á¤@¤Ñ")
- For a = 2 To 486
- If X > Cells(a, 1) And Cells(a, 1) <= Y Then
- Call aa(a)
- End If
- Next a
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
¦^´_ 4# c_c_lai
·PÁ§Aªº¨ó§U
§Ú¸Õ¹L¤F¡AÁÙ¬O¤@¼Ë¶]¥X¥þ³¡:'(
¥L¨S¦³§PÂ_¨ì@@ |
|
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨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)
|
|
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
¦^´_ 6# luhpro
OK §Ú¹Á¸Õ¬Ý¬Ý ÁÂÁ§A |
|
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
¦^´_ 6# luhpro
§Ú¹Á¸Õ¤F¤@¤U¡A§ÚÈÀH«K¿é¤J¡A¤@¼Ë·|´ú¸Õ¥þ³¡ ¦ü¥G¨S¦³§PÂ_¨ìIF
Public x, y
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
If Cells(a, b) >= Cells(a - 1, b) 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
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 |
|
§A¦n³á
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ luhpro
§Ú¹Á¸Õ¤F¤@¤U¡A§ÚÈÀH«K¿é¤J¡A¤@¼Ë·|´ú¸Õ¥þ³¡ ¦ü¥G¨S¦³§PÂ_¨ìIF
Public x, y
Sub ...
³Ì°ª¾÷±K µoªí©ó 2013-10-21 01:38
²×©ó¤F¸Ñ§A«üªº°ÝÃD¦bþ¸Ì¡A¦r¦ê¤ñ¸û³Ì¦n¨Ï¥Î StrComp() ²[¥Ü¸û©y¡C
§Ú±N If ªº§PÂ_²¾¦Ü¤J¤f³B¡A¤£µM¨C¤@¦¸°j°é³£nµLºÝºt½m 24 ¦¸ (For b = 9 To 32)¡A
½Ð¥þ³¡¶K¦Ü Module1 ©Î 쥻¤§ªí³æ¤º (¥i¥H±N Module1 ¤ºªº Public x,y ²¾°£)
µ{¦¡¬q§Ú³£¤w±N¥¦¹ï¦ì¦n¤F¡A¥H¤è«K°»¿ù»P¾\Äý¡C- Public x, y
- Sub trend()
- x = InputBox("¿é¤J²Ä¤@¤Ñ")
- y = InputBox("¿é¤J³Ì«á¤@¤Ñ")
- If x = "" Or y = "" Then Exit Sub
-
- For a = 2 To 486
- Call aa(a)
- Next a
- End Sub
- Sub aa(ByVal a As Integer)
- If StrComp(Cells(a, 1), x, 1) >= 0 And StrComp(y, Cells(a, 1), 1) >= 0 Then
- For b = 9 To 32
- If Cells(a, b) >= Cells(a - 1, b) 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 If
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
¦^´_ 9# c_c_lai
¤Ó·PÁ§A¤F:victory: ¦¨¥\¤F~ |
|
§A¦n³á
|
|
|
|
|