Error running Shell object / commands through Excel VBA
The error does come from the directory having a space in it:
C:\Users\myname\this is my folder\myexe.exe
A simple workaround does the trick:
wsh.Run(Chr(34) & YourFullPathDirectoryWithSpaces & "\myexe.exe" & Chr(34))
Chr(34)
is a double quote.
There was an issue with .Run
taking a two line property.
Tested it on Excel 2010/Win32.