While placing a Sleep(0) statement in an otherwise working code two error messages get triggered in the Log window-
Object reference not set to an instance of object
Expected non code block
The app cannot be compiled in this condition.
If Sleep(0) is remmed out the problem goes away-
I am exploring replacing DoEvents with Sleep(0) but can't get started because of this unexpected error.
Object reference not set to an instance of object
Expected non code block
The app cannot be compiled in this condition.
If Sleep(0) is remmed out the problem goes away-
I am exploring replacing DoEvents with Sleep(0) but can't get started because of this unexpected error.