API Call

How To Exit A Do Or For Loop Using An API Call

This post is going to show you how you can exit a for or do loop in VBA using an API call. API calls use the power of the Windows operating system to do your wishes. Here we are using the “GetAsyncKeyState” API function: Insert the following code in a common module. Click in the […]

Continue Reading