Sub IF条件判断() If Sheet1.Range("a1") >= 90 Then Sheet1.Range("b1") = "优秀" ElseIf Sheet1.Range("a1") >= 80 Then Sheet1.Range("b1") = "良好" Else Sheet1.Range("b1") = "较差" End If End Sub
<img src="http://img.blog.csdn.net/20150429233239811?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMzUxMTY0Mg==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" />
转载请注明作者与出处:http://blog.csdn.net/u013511642 王小涛_同學
时间: 2024-10-05 18:23:16