I am using this code and it gives me
Run time Error 5
Invalid Procedure or Argument
when I change last line to
runscript = Shell("FileName", 1)
It gives Run time Error 53
What am I doing wrong
[VBA]
Sub RunFileName()
Dim runscript
Dim FileName As String
FileName = ThisWorkbook.Path & "\AutoitCode.au3"
MsgBox (FileName)
runscript = Shell(FileName, 1)
End Sub
[/VBA]