Excel 2016 for mac and exc_bad_access

broken image
broken image
broken image

However, I can't seem to find an equivalent library method on macOS. On Windows, I can use an external call to the SetTimer function in the user32 library, as done, for example, in this question. In Word and Excel, I can use the Application.OnTime method to schedule code, but this method doesn't exist in PowerPoint and has a granularity of 1 second anyway. I need to schedule a piece of VBA code to run each 500 ms in Microsoft PowerPoint for Mac (version 16).