我试图使取消功能适用于我的数组它适用于一个简单的输入框但数组(InputBox(不喜欢它).
工作代码.
If strVarValue = vbNullString Then
MsgBox ("User canceled!")
WScript.Quit
End If
Run Code Online (Sandbox Code Playgroud)
我需要帮助的是什么
strIPAddress = Array(InputBox("IP address"))
If strIPAddress = vbNullString Then
MsgBox ("User canceled!")
WScript.Quit
End If
Run Code Online (Sandbox Code Playgroud)
不喜欢数组,因此为什么我的类型不匹配.