View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
XP XP is offline
external usenet poster
 
Posts: 389
Default Run a vbs file from MS-Excel

Using Office 2003 and Windows XP;

I am using the following code line to run a VBScript file:

Shell "MyPath\MyScript.vbs"

But, I get error: Invalid procedure call or argument

Any idea how I can get this to run using Shell?

The path and file are correct since I can run it using the hyperlink method,
but this produces an undesired unsupressable warning.

Thanks in advance.