如何在VB脚本中调用excel的虚拟化实例?

如何在VB脚本中调用excel的虚拟化实例?,excel,vbscript,appv,Excel,Vbscript,Appv,我有以下vb脚本,它从.xlsx文件打开一个工作表并将其保存为csv文件: if WScript.Arguments.Count < 3 Then WScript.Echo "Error! Please specify the source path and the destination. Usage: sheet2csv SourcePath.xlsx worksheet Destination.csv" Wscript.Quit End If Dim oExcel S

我有以下vb脚本,它从.xlsx文件打开一个工作表并将其保存为csv文件:

if WScript.Arguments.Count < 3 Then
    WScript.Echo "Error! Please specify the source path and the destination. Usage: sheet2csv SourcePath.xlsx worksheet Destination.csv"
    Wscript.Quit
End If
Dim oExcel
Set oExcel = CreateObject("Excel.Application")
Dim oBook
Set oBook = oExcel.Workbooks.Open(Wscript.Arguments.Item(0))
oBook.Sheets(Wscript.Arguments.Item(1)).SaveAs WScript.Arguments.Item(2), 24
oBook.Close False
oExcel.Quit
这是我访问Excel 2007的唯一方法-它不是物理安装在我的电脑上,而是Excel 2003


脚本运行时,将打开Excel2003的本地实例。我想找到一种方法来修改VB脚本,以便它使用虚拟版的Excel2007。有人能帮忙吗?

看到了吗?(tldr)我已经尝试了上面的答案,但是没有用——它会打开Excel2003。
"C:\WINDOWS\CCM\VappLauncher.exe" /launch "Microsoft Office Excel 2007 VOE05891.100"