In VBA (Excel) there is no reliable timer available. The Application.OnTimemethod fails if called from a UDF (User Defined Function) context or while debugging code. The other most used solution is ...
This repository contains Declare statements for many functions in the Microsoft Windows API for use with Visual Basic for Applications (VBA) and Microsoft Office 2010 on 32-bit (x86) and 64-bit (x64) ...