Re: Seeking VBA code to capture WinSCP Script Exit code when Shell function always returns 0
Thanks, Martin; I mistakenly thought that
Your suggestion, VBA Shell and Wait with Exit Code, solves my issue.
VBA.Shell
returned the Exit code, but now I understand it returns the Process ID.
Your suggestion, VBA Shell and Wait with Exit Code, solves my issue.