Appendix B. References for Projects

Throughout this book you have seen type libraries or object libraries, such as those described in the Automation chapter, used to enhance functionality through VBA code. You have seen how libraries can provide access to functions that manipulate the Windows System Registry or retrieve and send data to other applications.

In addition to libraries supplied with Microsoft Office, you can acquire type libraries to help simplify a variety of programming tasks. Like Microsoft Office libraries, other vendors' libraries provide classes to manipulate objects. An example would be the QuickBooks libraries provided in the QuickBooks Software Development Kit (SDK). These libraries provide classes you can use to create objects that contain data that is returned from a QuickBooks data file through an XML access method.

Acquiring libraries can be a cost-effective way to get more work done in less time. Of course there is always the trade off between what you pay for a library and writing your own functions. Not to mention the effort that may be required to learn how to use the library. And because of that trade off, you shouldn't neglect the effort you have already put into writing your own code. After all of the "bold, test, and swears" you put into your routines, you really must consider creating code libraries from your code.

This appendix describes techniques for using references to libraries in your projects, including how to reference libraries provided ...

Get Access 2003 VBA Programmer's Reference 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.