Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vbscript statements in 2.2.0.11
#1
I did not spend much time using Vbscript with Quick Macros previously, but I now want to use it to drive Excel and Word. Vbscript statements seemed to work in version 2.19 on my computer, but no longer work with version 2.2.0.11 on same computer.

For example, the following does not work now:

VbsExec "msgbox ''First''[]msgbox ''Second''"

Error (RT) in Macro68: :
Line 0:

Vbscript works with WSH on the same computer. The following code works fine:

option explicit
dim messageDemo
set messageDemo=wscript.createobject("wscript.network")
msgbox "Some Text"
wscript.quit()

What might be the problem with Vbs statements?
#2
Version 2.2.0 has problems with VBScript. Please download/install version 2.2.1.


Forum Jump:


Users browsing this thread: 1 Guest(s)