我试图在运行vbscript时检索到事件参考号。该脚本打开与代码中的脚本票值的车票,但它返回以下错误:错误:必需的对象:“oWSResponseDoc.selectSingleNode(...)” 我使用的代码是 ' Perform the insert and check the status
If Not wsInsertIncident.Post Then
WScript.Ech
我打开非Excel文件像一些简单的Excel VBA代码: Sub scriptTest()
Set objshell = CreateObject("Wscript.Shell")
objshell.Run ("C:\TestFolder\Book1.pdf")
Set objshell = Nothing
End Sub
运行该打开的Acrobat Read
我有多个Word文档,这些文档需要对开发人员模式施加的限制。 我使用WScript的一个文件夹传递作为参数运行脚本,但阵痛错误 Dim strFolder
Const xlTypePDF = 0
strFolder = WScript.Arguments(0)
if Wscript.Arguments.Count > 0 Then
Set objFSO = CreateObje