VBScript Runtime Error : Unknown runtime error: 'Application.DisplayAlerts'

Ringo 6 Reputation points
2021-01-08T09:03:40.417+00:00

When running VBScript, the Runtime Error appear

"Unknown runtime error: 'Application.DisplayAlerts'
Code : 800AC472

the line in the vbscript where it stopped is
xlApp.Application.DisplayAlerts = False

It happened randomly, e.g. once in a week and it did not happen every time run manually or under scheduler.

May I know if anyone can shed some lights on that ?

thanks !

0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.