§ì¨ú¹q¬y¬ðªi¦¸¼Æ¡A¤Îpºâ¨ä¥§¡È°ÝÃD
- ©«¤l
- 12
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 65
- ÂI¦W
- 0
- §@·~¨t²Î
- Xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-8-5
- ³Ì«áµn¿ý
- 2022-6-29
|
§ì¨ú¹q¬y¬ðªi¦¸¼Æ¡A¤Îpºâ¨ä¥§¡È°ÝÃD
³Â·Ð¤j¤j¡AÀ°¦£¬d¬Ý¹q¬y§ì¨ú¼gªk¡A
¦pªþ¥ó¡A¹q¬y§ì¨ú°ÝÃD
ÁÂÁÂ!
:)
test.rar (94.6 KB)
|
|
|
|
|
|
|
- ©«¤l
- 12
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 65
- ÂI¦W
- 0
- §@·~¨t²Î
- Xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-8-5
- ³Ì«áµn¿ý
- 2022-6-29
|
¥»©«³Ì«á¥Ñ s12t34 ©ó 2016-10-9 23:35 ½s¿è
¦^´_ 4# GBKEE
ÁÂÁÂG¤j¡A¥§¡¹q¬ypºâÈOK¤F
¨¯W¤F!
:) |
|
|
|
|
|
|
- ©«¤l
- 12
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 65
- ÂI¦W
- 0
- §@·~¨t²Î
- Xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-8-5
- ³Ì«áµn¿ý
- 2022-6-29
|
ÁÂÁÂG¤j¤j©Mã¤jªº¸Ñµª¡A
G¤j¡A¤£¦n·N«ä¥§¡¹q¬ypºâȦ³°ÝÃD
¤p§Ì§ÚÁÙ¤£¤ÓÀ´VBA¡A¥u¥Î¿ý»s¾Ç²ß¤¤.....
¦A¦¸ÁÂÁ¨â¦ì¤j¤j¸Ñµª
|
|
|
|
|
|
|
- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-25
|
pºâ³W«hÁÙ¤£¸Ô²Ó, ¤j¬ù¼g¤@¤U:- Sub ¨ú¥Xµ²ªG(C%, M, ST1$, ST2$)
- Dim Arr, i&, V&, U&, S, uMax
- Arr = Range(Cells(1, C + 2), Cells(65536, C + 2).End(xlUp)(2))
- For i = 2 To UBound(Arr) - 1
- If Val(Arr(i, 1)) > Val(M) Then
- V = V + 1
- S = S + Arr(i, 1)
- If Arr(i, 1) > uMax Then uMax = Arr(i, 1)
- If Val(Arr(i + 1, 1)) <= Val(M) Then U = U + 1
- End If
- Next
- [J2] = "¦¸ ¼Æ =": [J3] = "¥§¡È =": [J4] = "³Ì¤jÈ ="
- [K1].Cells(1, C) = " " & ST1 & " "
- [K1].Cells(2, C) = U
- [K1].Cells(3, C) = S / V
- [K1].Cells(4, C) = uMax
- [U1].Cells(1, C) = " " & ST2 & " "
- End Sub
- Private Sub Button1_Click()
- Call ¨ú¥Xµ²ªG(1, 100, " 01¡B08¡B14 ", " 01H ")
- End Sub
- Private Sub CommandButton1_Click()
- Call ¨ú¥Xµ²ªG(2, 30, "02¡B09¡B15", "02H")
- End Sub
- Private Sub CommandButton2_Click()
- Call ¨ú¥Xµ²ªG(3, 50, "03¡B10¡B16", "03H")
- End Sub
- Private Sub CommandButton3_Click()
- Call ¨ú¥Xµ²ªG(4, 30, "04¡B11¡B17", "04H")
- End Sub
- Private Sub CommandButton4_Click()
- Call ¨ú¥Xµ²ªG(5, 50, "05¡B12¡B18", "05H")
- End Sub
- Private Sub CommandButton5_Click()
- Call ¨ú¥Xµ²ªG(6, 50, "06¡B13¡B19", "06H")
- End Sub
- Private Sub CommandButton6_Click()
- Call ¨ú¥Xµ²ªG(7, 50, "07¡B14", "07V")
- End Sub
½Æ»s¥N½X
TEST20161009-1.rar (181.41 KB)
|
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2016-10-9 20:27 ½s¿è
¦^´_ 3# s12t34
¸Õ¸Õ¬Ý,¬O§_¦p¦¹- 'Æ[¹îªþÀɬ°pºâCÄ檺ÅÞ¿è¬O,¤j©ó100ªº³sÄò½d³òªº¦¸¼Æ
- Option Explicit
- Sub Ex()
- Dim i As Integer, S As Single, Max_Count As Integer, V As Integer
- i = 2
- Range("D:D").Interior.ColorIndex = xlNone
- Do While Cells(i, "c") <> ""
- If Cells(i, "c") > 100 Then
- Max_Count = Max_Count + 1
- Do While Cells(i, "c") > 100
- V = V + 1 '¤j©ó100ªº ¦¸¼Æ**********
- S = S + Cells(i, "c")
- Cells(i, "D") = "AA" & Max_Count '»²§U§A¬d¬Ý¦¸¼Æ¬O§_¥¿½T
- Range("D" & i).Interior.Color = vbYellow '»²§U§A¬d¬Ý¬O§_¥¿½T
- i = i + 1
- Loop
- Else
- i = i + 1
- End If
- Loop
- [J2] = "¦¸ ¼Æ ="
- [J3] = "¥§¡È ="
- [J4] = "³Ì¤jÈ ="
- [K1] = " 01¡B08¡B14 "
- [U1] = " 01H "
- [K2] = Max_Count
- [K3] = S / V 'Max_Count
- [K4] = "=MAX(R[-2]C[-8]:R[9996]C[-8])"
- ''°õ¦æ«á: DÄæ¦Û°Ê¿z¿ï,±ø¥ó¶}ÀY¥H"AA" ¥i¬d¬Ý¬O§_¥¿½T
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 12
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 65
- ÂI¦W
- 0
- §@·~¨t²Î
- Xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-8-5
- ³Ì«áµn¿ý
- 2022-6-29
|
|
|
|
|
|
|
- ©«¤l
- 12
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 65
- ÂI¦W
- 0
- §@·~¨t²Î
- Xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-8-5
- ³Ì«áµn¿ý
- 2022-6-29
|
¦^´_ 1# s12t34
¦³³]©w³]©w®æ¦¡¤Æ±ø¥ó>95¡A³o¬O¬°¤F¬ðÅã¨ä¬ðªi¹q¬y
¦]¤§«eµ{¦¡pºâ¦³ªº·|§â¦¹½d³òpºâ¬°«e«á¦U1¦¸¡A
ÁÂÁª©¤j´£¿ô :) |
|
|
|
|
|
|