|
Chapter 1: Introduction to Excel. |
|
|
|
Early Spreadsheet Macros. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Excel 2002 VBA Programmer's Reference. |
|
|
|
|
|
What You Need to Use this Book. |
|
|
|
|
|
|
|
|
|
|
|
Chapter 2: Primer in Excel VBA |
|
|
|
|
|
|
|
|
|
|
|
Chapter 3: The Application Object. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Chapter 4: Workbooks and Worksheets. |
|
|
|
The Workbooks Collection. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Columns and Rows Properties. |
|
|
|
Union and Intersect Methods. |
|
|
|
|
|
Transferring Values between Arrays and Ranges. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Working with Named Ranges. |
|
|
|
|
|
|
|
|
|
Creating a PivotTable Report. |
|
|
|
|
|
|
|
|
|
|
|
Chapter 8: Filtered Lists. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Chapter 9: Generating Charts. |
|
|
|
|
|
|
|
|
|
Defining Chart Series with Arrays. |
|
|
|
Converting a Chart to use Arrays. |
|
|
|
Determining the Ranges used in a Chart. |
|
|
|
|
|
|
|
Chapter 10: Event Procedures. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Chapter 11: Adding Controls. |
|
|
|
|
|
|
|
|
|
Dynamic ActiveX Controls. |
|
|
|
|
|
|
|
Chapter 12: Office Files and Folders. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Directly Accessing Controls in UserForms. |
|
|
|
Stopping the Close Button. |
|
|
|
|
|
|
|
|
|
|
|
Chapter 14: Command Bars. |
|
|
|
Toolbars, Menu Bars, and Popups. |
|
|
|
Excel's Built-In Command Bars. |
|
|
|
|
|
|
|
Passing Parameter Values. |
|
|
|
|
|
|
|
|
|
Showing Pop-Up Command Bars. |
|
|
|
|
|
Disabling Shortcut Access to Customize. |
|
|
|
|
|
Chapter 15: Class Modules. |
|
|
|
Creating Your Own Objects. |
|
|
|
|
|
|
|
|
|
Trapping Application Events. |
|
|
|
|
|
A Collection of UserForm Controls. |
|
|
|
Referencing Classes Across Projects. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Removing an Addin from the Addins List. |
|
|
|
|
|
Chapter 17: Automation Addins and COM Addins. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Controlling SmartTags with VBA. |
|
|
|
The Problems with SmartTags. |
|
|
|
|
|
Chapter 19: Interacting with Other Office Applications. |
|
|
|
Establishing the Connection. |
|
|
|
Opening a Document in Word. |
|
|
|
Accessing an Active Word Document. |
|
|
|
Creating a New Word Document. |
|
|
|
|
|
Access, Excel and, Outlook. |
|
|
|
When is a Virus not a Virus? |
|
|
|
|
|
Chapter 20: Data Access with ADO. |
|
|
|
An Introduction to Structured Query Language (SQL). |
|
|
|
|
|
|
|
Chapter 21: Excel and the Internet. |
|
|
|
So What's all the Hype About? |
|
|
|
Using the Internet for Storing Workbooks. |
|
|
|
Using the Internet as a Data Source. |
|
|
|
Using the Internet to Publish Results. |
|
|
|
Using the Internet as a Communication Channel. |
|
|
|
|
|
Chapter 22: International Issues. |
|
|
|
Changing Windows Regional Settings and the Office XP UI Language. |
|
|
|
Responding to Regional Settings and the Windows Language. |
|
|
|
|
|
|
|
Excel 2002's International Options. |
|
|
|
Features That Don't Play by the Rules. |
|
|
|
Responding to Office XP Language Settings. |
|
|
|
|
|
|
|
Chapter 23: Programming the VBE. |
|
|
|
Identifying VBE Objects in Code. |
|
|
|
|
|
Adding Menu Items to the VBE. |
|
|
|
Displaying Built-In Dialogs, UserForms, and Messages. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Chapter 24: Programming with the Windows API. |
|
|
|
|
|
Interpreting C-Style Declarations. |
|
|
|
Constants, Structures, Handles, and Classes. |
|
|
|
What if Something Goes Wrong? |
|
|
|
Wrapping API Calls in Class Modules. |
|
|
|
|
|
Modifying UserForm Styles. |
|
|
|
|
|
|
|
|
|
Appendix A: Excel 2002 Object Model. |
|
|
|
Common Properties with Collections and Associated Objects. |
|
|
|
Excel Objects and Their Properties, Methods and Events. |
|
|
|
Appendix B: VBE Object Model. |
|
|
|
Appendix C: Office XP Object Model. |
|
|
|
Common Properties with Collections and Associated Objects. |
|
|
|
Office Objects and Their Properties and Events. |
|
|