Synopses & Reviews
If youre an Excel user seeking more control over your spreadsheets, or if you are developing Excel applications for others, this comprehensive volume provides what you need to maximize VBA flexibility in the Excel environment. Fully revised and updated, it focuses exclusively on VBA for Excel and provides appropriate information for beginners, Excel programmers, and advanced developers alike.
Packed with examples, code, and screenshots where applicable, this clearly organized reference meets you at the level of your experience and takes you to the next level. From a complete Excel VBA primer to internationalization, advanced debugging techniques, and programming the VB editor, this is your one-stop reference for Excel VBA programming.
What you will learn from this book
- Object-oriented theory and VBA for Excel
- Ways to set up applications and convert them to add-ins
- How to use VB6 and VB.NET with Excel
- Programming to the Windows® API
- Advanced error handling and debugging methods
- Essentials of SQL® as it applies to accessing data with ADO
- Interaction with other Office applications and databases
- How to access extensive reference material in downloadable, searchable format
Who this book is for
This book is for Excel users and programmers from beginning to advanced. You need a reasonable working knowledge of Excel and a full installation of the software.
Wrox Programmers References are designed to give the experienced developer straight facts on a new technology, without hype or unnecessary explanations. They deliver hard information with plenty of practical examples to help you apply new tools to your development projects today.
Written by active and popular members of the Excel community, this guide includes coverage of all the new features including smart tags, pivot tables, and web components. The book examines all the new XML capabilities that 2002 brings to the Excel world.
What is this book about?
Excel 2003 VBA Programmer's Reference is an updated and expanded version of the two previous editions now with a reference section downloadable from the Web for easy perusal. The book is aimed at Excel users who want to gain more control over their spreadsheets using VBA or who want to develop Excel applications for other users. The book starts with a primer chapter focused on bringing the readers up to speed with Excel and VBA. From there, the book expands to focus on major issues faced by advanced Excel users and developers.
What does this book cover?
In this book, you'll discover how to do the following:
- Set up applications and convert them to add-ins
- Package and distribute Excel applications
- Set up interaction with other Office applications and databases
- Program the VB Editor and use the Windows API
- Use VB6 and VB.NET with Excel
- Set up internationalization
- Advanced debugging and error handling techniques
About the Author
founded Software Conceptions, Inc in 1990 and has been designing and building software and writing computer books ever since. Paul Kimmel is the author of several books on VBA, VB, VB.NET, C#, Delphi, and C++. Paul is also the bi-monthly columnist for www.codeguru.com ‘s VB Today column and a frequent contributor to periodicals and online publications, including www.InformiT.com. You may contact him at email@example.com for help designing and building software.
Stephen Bullen is based in Carlow, Ireland and in London, England. He has been running his own Company, Business Modelling Solutions Ltd Since 1997, specializing in Excel development and consulting and has worked for some of the worlds largest companies. The BMS web site, www.BMSLtd.co.uk, contains a large number of examples of his work, including tools and utilities to extend Excel’s functionality and many examples of Excel development techniques.
Stephen devotes a lot of his spare time to helping other Excel users by answering questions in the CompuServ Excel forum and Microsoft’s Internet Newsgroup. In recognition of his contribution and knowledge, Microsoft has awarded him the status of ‘Most Valuable Professional’ every year since 1996.
Stephen wrote most of the Latest chapters in the Excel 2000 and Excel 2002 VBA.
Programmers References, which has been carried forward to this book and updated by Paul Kimmel where appropriate. Stephen has not directly contributed to this edition.
John Green, Sydney Australia, is an independent consultant specializing in Excel and Access. With 30 years of computing experience, a Chemical Engineering degree and an MBA, he draws from a diverse background. He has led training courses for software applications and operating systems both in Australia and overseas. Microsoft has awarded him the status of ‘Most Valuable Professional’ every year since 1995.
John was the principal author of the Excel 2000 and Excel 2002 VBA Programmers References, which have been carried forward to this book and updated by Paul Kimmel where appropriate. John has not directly contributed to this edition.
Bob Bovey is a software developer specializing in Microsoft Office, Visual Basic, and SQL Server applications. He is founder and president of the custom application development firm Application Professionals. Rob developed several Addins shipped by Microsoft for Excel. He also co-authored the Microsoft Excel 97 Developer’s Kit. Microsoft has awarded Rob the status of ‘Most Valuable Professional’ every year since 1995. Rob authored the chapter on Data Access with ADO for the Excel 2002 VBA Programmer’s Reference. He has not directly contributed to this edition.
Robert Rosenberg runs his own consulting business, which specializes in providing custom solutions and advanced training in Microsoft Office. His clients include fortune five hundred companies in the entertainment, financial, and legal fields. As a Microsoft Valuable Professional in Excel, he also continually offers advanced online support in Excel on behalf of Microsoft to users of their Internet newsgroups. Robert was responsible for updating the content for the Excel and Office Indexes for the 2002 version of this book. This included updating example code and listings for existing VBA objects as well as listing new object descriptions, their methods, properties and/or arguments along with code examples.
Brian Patterson (Contributor) currently works for Illinois Mutual Life as a Software Development Coordinator where he is generally working with C# in WinForms or the Corporate Internet site. Brian has been writing for various publications since 1994 and has co-written several .NET related books including “Migrating to Visual Basic.nET” and .NET Enterprise Development with VB.NET.” You can generally find him posting in the MSDN Newsgroups or hanging out with his lovely wife and 3 children. You can reach him via email at firstname.lastname@example.org.
Table of Contents
About the Authors.
Chapter 1: Primer in Excel VBA.
Chapter 2: Programming in the VBE.
Chapter 3: The Application Object.
Chapter 4: Object-Oriented Theory and VBA.
Chapter 5: Event Procedures.
Chapter 6: Class Modules.
Chapter 7: Writing Bulletproof Code.
Chapter 8: Debugging and Testing.
Chapter 9: UserForms.
Chapter 10: Adding Controls.
Chapter 11: Data Access with ADO.
Chapter 12: Creating and Using Add-ins.
Chapter 13: Automation Addins and COM Addins.
Chapter 14: Customizing the VBE.
Chapter 15: Interacting with Other Office Applications.
Chapter 16: Programming with the Windows API.
Chapter 17: International Issues.
Chapter 18: Workbooks and Worksheets.
Chapter 19: Using Ranges.
Chapter 20: Using Names.
Chapter 21: Working with Lists.
Chapter 22: PivotTables.
Chapter 23: Filtered Lists.
Chapter 24: Generating Charts.
Chapter 25: Office Files and Folders.
Chapter 26: Command Bars.
Chapter 27: SmartTags.
Chapter 28: Excel and the Internet.
Chapter 29: XML and Excel.
Appendix A: Excel 2003 Object Model.
Appendix B: VBE Object Model.
Appendix C: VBE Object Model.