
Sub tkyo()
Application.ScreenUpdating = False
Worksheets("工作表1").Select '國文
If Range("I4") = 2 Then
If Cells(4, 3) <= Cells(5, 3) Then
End If
Else:
If Range("I4") = 3 Then
If Cells(4, 3) <= Cells(5, 3) _
And Cells(5, 3) <= Cells(6, 3) _
Then
Else:
If Range("I4") = 4 Then
If Cells(4, 3) <= Cells(5, 3) _
And Cells(5, 3) <= Cells(6, 3) _
And Cells(6, 3) <= Cells(7, 3) _
Then
Else:
If Range("I4") = 5 Then
If Cells(4, 3) <= Cells(5, 3) _
And Cells(5, 3) <= Cells(6, 3) _
And Cells(6, 3) <= Cells(7, 3) _
And Cells(7, 3) <= Cells(8, 3) _
Then
Else:
If Range("I4") = 6 Then
If Cells(4, 3) <= Cells(5, 3) _
And Cells(5, 3) <= Cells(6, 3) _
And Cells(6, 3) <= Cells(7, 3) _
And Cells(7, 3) <= Cells(8, 3) _
And Cells(8, 3) <= Cells(9, 3) _
Then
End If
End If
End If
End If
End If
End If
End If
End If
End If
Worksheets("工作表1").Select '英文
If Range("J4") = 2 Then
If Cells(4, 4) <= Cells(5, 4) Then
End If
Else:
If Range("I4") = 3 Then
If Cells(4, 4) <= Cells(5, 4) _
And Cells(5, 4) <= Cells(6, 4) _
Then
Else:
If Range("I4") = 4 Then
If Cells(4, 4) <= Cells(5, 4) _
And Cells(5, 4) <= Cells(6, 4) _
And Cells(6, 4) <= Cells(7, 4) _
Then
Else:
If Range("I4") = 5 Then
If Cells(4, 4) <= Cells(5, 4) _
And Cells(5, 4) <= Cells(6, 4) _
And Cells(6, 4) <= Cells(7, 4) _
And Cells(7, 4) <= Cells(8, 4) _
Then
Else:
If Range("I4") = 6 Then
If Cells(4, 4) <= Cells(5, 4) _
And Cells(5, 4) <= Cells(6, 4) _
And Cells(6, 4) <= Cells(7, 4) _
And Cells(7, 4) <= Cells(8, 4) _
And Cells(8, 4) <= Cells(9, 4) _
Then
End If
End If
End If
End If
End If
End If
End If
End If
End If
Worksheets("工作表1").Select '數學
If Range("K4") = 2 Then
If Cells(4, 5) <= Cells(5, 5) Then
End If
Else:
If Range("I5") = 3 Then
If Cells(4, 5) <= Cells(5, 5) _
And Cells(5, 5) <= Cells(6, 5) _
Then
Else:
If Range("I5") = 4 Then
If Cells(4, 5) <= Cells(5, 5) _
And Cells(5, 5) <= Cells(6, 5) _
And Cells(6, 5) <= Cells(7, 5) _
Then
Else:
If Range("I5") = 5 Then
If Cells(4, 5) <= Cells(5, 5) _
And Cells(5, 5) <= Cells(6, 5) _
And Cells(6, 5) <= Cells(7, 5) _
And Cells(7, 5) <= Cells(8, 5) _
Then
Else:
If Range("I5") = 6 Then
If Cells(4, 5) <= Cells(5, 5) _
And Cells(5, 5) <= Cells(6, 5) _
And Cells(6, 5) <= Cells(7, 5) _
And Cells(7, 5) <= Cells(8, 5) _
And Cells(8, 5) <= Cells(9, 5) _
Then
End If
End If
End If
End If
End If
End If
End If
End If
End If
'Range("I6") = ("國英數皆有進步")
Application.ScreenUpdating = True
End Sub
成績是亂數產生
國英數 週期自行填入(可以比較出成績是否進步也比較彈性)
但問題是~
我該如何讓國英數週期選擇(填入)的3個條件都成立才顯示
Range("I6") = ("國英數皆有進步")
很抱歉,我mobile01密碼忘了。所以沒法用電腦直接上傳檔案





























































































