If Text1.Text = "" ThenMsgBox "对不起,此处不能为空!", vbInformation, "提示"End If
if len(text1.text)=0 thenmsgbox "空的"end if
If TextBox1.Text = "" ThenMessageBox.Show( "此处不能为空")End If
if(it="")then msgbox("Alert")
多谢各位啦