Chapter 12. Understanding and Using Windows API Calls

In the “Programming with the Windows API” chapter of our Excel 2007 VBA Programmers Reference, we approach the subject of using Windows API calls by explaining how to locate the definitions for various functions on the MSDN Web site and translate those functions for use in VBA. The idea was to give readers the ability to browse through the API documentation and be able to use anything of interest they found.

In reality, few people use Windows API calls in that manner. Instead, most of us go to Google and search the Web or the newsgroups for the answer to a problem and find the solution requires the use of API calls. We copy the solution into our application and hope it works, usually without ...

Get Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel, VBA, and .NET, Second Edition 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.