LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Wscript.Shell Run vbs Fails?

OK - What am I doing wrong?

'Move Files To Their Archive Locations
Dim movScrpt As Object
Set movScrpt = CreateObject("Wscript.Shell")
movScrpt.Run "\\ServerName\Enterprise Forecasting & Scheduling
Team\MoveReports.vbs"


I get a Run-Time error '-2147024894(80070002)':
Method 'Run' of object 'IWshShell3' failed
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA equivalent for WScript.Sleep urkec Excel Programming 3 April 8th 07 09:22 AM
WScript.Shell Dani Excel Programming 4 October 11th 06 04:20 PM
WScript.Echo... VBA Reference? John Keith[_2_] Excel Programming 3 July 8th 06 03:55 PM
using WScript.CreateObject("Wscript.Shell John Keith[_2_] Excel Programming 3 August 30th 05 07:20 PM
WScript object not found (???) Tom Ogilvy Excel Programming 1 July 10th 03 10:59 PM


All times are GMT +1. The time now is 09:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"