Not Responding Message on macro screen

I have a macro at a client that shows a (Not Responding) message at the top of the screen while the macro is running.  It still works and completes its process. This message does NOT show on their old server when the exact same macro is run.  Same version of Sage 300 2017.  Everything is the same except a different server OS.

Is there a setting somewhere in the VBA environment or maybe the system manager that defines how long it waits before it puts up the message?

The macro is running a series of do while loops.

Any advice is greatly appreciated

Dana