0

I've These Command in my vba code:

Call Shell("""C:\Program Files\KNIME\knime.exe"" -consoleLog -nosave -nosplash -reset --launcher.suppressErrors -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=""C:\Users\test\knime-workspace\Testing\testshell"" -workflow.variable=OUTFILETEST,""C:\Users\test\Desktop\test.xlsx"",String")

Everything is Fine. But the knime batch mode has exit code. These codes tell me how successful the workflow is.

How can i catch the exitcode in vba ?

And second question. How can i log the errors etc from the knimebatch?

windows vba

Pᴇʜ
  • 56,719
  • 10
  • 49
  • 73
Paddymaster
  • 70
  • 1
  • 10

0 Answers0