View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
rhXX rhXX is offline
external usenet poster
 
Posts: 9
Default VBScript from VBA excel / wshShell.Run failed, error 80070483

If you're not needing the "WScript.Shell" object for any other reason than
launching your vbs file, you could just use the 'Shell' function within VBA.
Either way, you need to launch either WScript.exe or CScript.exe and pass
the path to your vbs file to the executable as an argument rather than
trying to "run" the vbs file.

Steve Yandl


Not O.K.
from any folder:
Tools Folder Options File Types
and then register .vbs with the Microsoft (r) Windows Based Script
Host
--
Gary''s Student - gsnu200730


gary / steve, tks a lot!

gary after i sent the mail, i tested to register .vbs with some
program, i found .vbe, and i done "an equivalent not encoced"

VBScript Script File
open: C:\WINDOWS\System32\WScript.exe "%1" %*

and worked fine!

i will check Microsoft (r) Windows Based Script Host

steve, i like more ur method, so is indepent from any previus
register. i will check now

tks again to all!!!