API Viewer


While VBA is a very powerful language, sometimes you may want to incorporate functionality in your application that is not available with "straight" VBA. Enter the Windows API (Application Programming Interface). The Windows API is a set of code libraries (DLL files) containing numerous functions for working with all aspects of Windows (graphics, the file system, fonts, low-level memory access, etc.). These function libraries are available to programmers coding with any Windows development system (VB, C++, Delphi, etc.).

To use Windows API, you need to declare the API sub or function with the Declare statement.

Using API Viewer, you can declare easily.

To use API Viewer, click the button “API Viewer”

vba api viewer


Then, it opens the “API Viewer” window.

vba api viewer


You can perform searches to find the one(s) you want and copy/insert their declarations for use in your program.

vba api viewer