Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


kjm5f5
2018-04-25T14:02:45Z
I have set up an Office Macro task to call a macro inside an Access database which successfully executes.

To test the process, I modified the input file to cause the macro itself to fail. When I run the macro directly from inside Access, the dialog box for a run-time error appears allowing me to choose to End or Debug the process. However, if I run the Office Macro task from VisualCron, the job continues to run indefinitely until the timeout has been reached or I manually stop the job.

Is there a way to build in error handling into the VisualCron task so that the job would fail when the macro the task is running has a run-time error?

Thanks in advance for offering your ideas.
Sponsor
Forum information
Support
2018-04-26T16:31:22Z
If you capture the error in the Macro it will not be raised. The best way to pass information from the Office macro Task is to write any output/debug to file.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top