各位前輩我想請教個問題唷^^"
Private Sub cs1_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
For k = 0 To 9
If qs1(k).Caption = "" Then
cs1(0).SetFocus
If MsgBox("此欄無評分標準", vbOKOnly, "確定") = vbOK Then
k = 10
End If
End If
Next
End Sub
在qs1(k).caption=""那個判斷式阿
為什麼連有值的內容都會被判定為true@@"
如果我想要讓程式判定若caption為空的(也就是沒有文字)
就啟動Msgbox該要怎麼做才不會有錯阿~~@@
麻煩各位前輩指導一下了~~謝謝唷~~:)
Private Sub cs1_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
For k = 0 To 9
If qs1(k).Caption = "" Then
cs1(0).SetFocus
If MsgBox("此欄無評分標準", vbOKOnly, "確定") = vbOK Then
k = 10
End If
End If
Next
End Sub
在qs1(k).caption=""那個判斷式阿
為什麼連有值的內容都會被判定為true@@"
如果我想要讓程式判定若caption為空的(也就是沒有文字)
就啟動Msgbox該要怎麼做才不會有錯阿~~@@
麻煩各位前輩指導一下了~~謝謝唷~~:)
全站熱搜
留言列表