The Windows API

The Windows API is a large collection of procedures that is behind just about anything that Windows or any Windows program does. You name it, and the API is behind it—screen display, menus, dialog boxes, mouse control, keyboard input. The Windows operating system itself relies on the API, and any VBA application you create does so as well. For example, when you create a User Form, VBA is calling API procedures to display the window and to provide capabilities such as changing its position and size. Thus, many of the capabilities of the API are made available to you, indirectly, through the VBA language and development environment.

It is not practical to include all of the capabilities of the API in a high-level programming language ...

Get Office® XP Development with VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.