1.简单的弹出一个消息
MsgBox ("Common Msg")
2.显示某个单元格的信息
MsgBox "Cell A1 is " & Range("A1").Value
![](https://i-blog.csdnimg.cn/blog_migrate/dc23c199d4f1847951b589dcc2fc6215.jpeg)
3.加入换行
MsgBox "Line 1 Content" & vbNewLine & "Line 2 Content"
1.简单的弹出一个消息
MsgBox ("Common Msg")
2.显示某个单元格的信息
MsgBox "Cell A1 is " & Range("A1").Value
3.加入换行
MsgBox "Line 1 Content" & vbNewLine & "Line 2 Content"