为什么出错
Public Function isempty(ByVal cons As Controls) As Boolean
Dim con As Control
For Each con In cons
If TypeOf con Is TextBox Then
If Trim(con.Text) = "" Then
isempty = True
Exit Sub
End If
End If
Next
End Function
在For k = 0 To 2 Step 1
If Check(txt(k).Text) = True Then
MsgBox "dfdfsd"
'Exit Sub
End If
Next调用时为什么出错