Using START, CALL etc commands in Shell gives me error "Run Time Error 53; File Not Found".
Something like this should work:
Sub test()
Dim strFile As String
strFile = "D:\ARKQ.html"
Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE " & """" & strFile
& """", 1
End Sub
RBS
"Riyas Majeed" wrote in message
...
My Code is like
Sub test()
FName = "D:\ARKQ.html"
Shell "start " & FName
End Sub
But when I run this code, it gives me File Not Found Error. Please help me
with this error. The same happens with "call" command also.
even if I simply run the code:
Shell "start"
it shows the same error, so I assume I have to give the full path of the
program "start" ??
|