文件名称:MsgBox函数应用举例-非常好用的VBA
文件大小:2.54MB
文件格式:PPT
更新时间:2024-05-15 03:17:31
vba
MsgBox函数应用举例: MsgBox(提示[,按钮][,标题]) 例如: Private Sub Form_Load() Dim IntResponse As Integer, StrTitle As String StrTitle = "MsgBox示例" IntResponse = MsgBox("Application Stopped!", 19, StrTitle) If IntResponse = vbYes Then MsgBox "You clicked on Yes." Else MsgBox "You did not click on Yes." End If End Sub