cancel array Input Box
问题 I am trying to make the cancel function work for my array it works for a simple input box but Array(InputBox( does not like it very much. Working code. If strVarValue = vbNullString Then MsgBox ("User canceled!") WScript.Quit End If What I need help with strIPAddress = Array(InputBox("IP address")) If strIPAddress = vbNullString Then MsgBox ("User canceled!") WScript.Quit End If Doesn't like the Array hence why I'm getting type mismatch. 回答1: Do the conversion only if the user did not press