While attempting to access an external API function set from within a macro I found it necessary to add in a delay to allow time for the external API to process a selection.
Implementing this caused a bit of difficulty as using Application.Wait or Application.Sleep wouldn't work.
Searching online led me to try using GetTickCount or timeGetTime - both of which failed to work for me as the delay function failed to exit.
The question thus is how can I implement this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…