B
Bobby
Hello! Sirs,
I am running Excel 2003. I wrote a recovery procedure a .VBS
When executed the macro procedure I get the following message:
Run-Time error '-2147024894(80070002)'
The system cannot find the file specified
The file is in the same directory then the .XLS
This is the macro:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Dim thepath As String
Dim WSH As New IWshRuntimeLibrary.WshShell
thepath = "D:\xxxxxx\DOCUMENT\xxxxx xxxxx\Ultima\TEST\System
\recover.vbs"
WSH.Run thepath, , True
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Any suggestion will be appreciate!
Thank's ahead
I am running Excel 2003. I wrote a recovery procedure a .VBS
When executed the macro procedure I get the following message:
Run-Time error '-2147024894(80070002)'
The system cannot find the file specified
The file is in the same directory then the .XLS
This is the macro:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Dim thepath As String
Dim WSH As New IWshRuntimeLibrary.WshShell
thepath = "D:\xxxxxx\DOCUMENT\xxxxx xxxxx\Ultima\TEST\System
\recover.vbs"
WSH.Run thepath, , True
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Any suggestion will be appreciate!
Thank's ahead