EXCEL vba msgbox 自动关闭 为何实现不了?

2024-12-16 07:25:35
推荐回答(2个)
回答1:

Private Sub CommandButton1_Click()

Dim WSH As Object
Set WSH = CreateObject("WScript.shell")
WSH.Popup "A+B", 5, "警告", vbInformation
Set WSH = Nothing
End Sub

回答2:

你的ecxel是不是32位的