Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel, VBA, and .NET

Front Cover
Addison-Wesley Professional, 2009 - Computers - 1156 pages

"As Excel applications become more complex and the Windows development platform more powerful, Excel developers need books like this to help them evolve their solutions to the next level of sophistication. Professional Excel Development is a book for developers who want to build powerful, state-of-the-art Excel applications using the latest Microsoft technologies."

-Gabhan Berry, Program Manager, Excel Programmability, Microsoft

"The first edition of Professional Excel Development is my most-consulted and most-recommended book on Office development. The second edition expands both the depth and range. It shines because it takes every issue one step further than you expect. The book relies on the authors'' current, real-world experience to cover not only how a feature works, but also the practical implications of using it in professional work."

-Shauna Kelly, Director, Thendara Green

"This book illustrates techniques that will result in well-designed, robust, and maintainable Excel-based applications. The authors'' advice comes from decades of solid experience of designing and building applications. The practicality of the methods is well illustrated by the example timesheet application that is developed step-by-step through the book. Every serious Excel developer should read this and learn from it. I did."

- Bill Manville, Application Developer, Bill Manville Associates

The Start-to-Finish Guide to Building State-of-the-Art Solutions with Excel 2007

In this book, four world-class Microsoft® Excel developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors--three of whom have been honored by Microsoft as Excel Most Valuable Professionals (MVPs)--show how to consistently make the right design decisions and make the most of Excel''s most powerful new features. Using their techniques,you can reduce development costs, time to market, and hassle--and build more effective, successful solutions.

Fully updated for Excel 2007, this book starts where other books on Excel programming leave off. Through a hands-on case study project, you''ll discover best practices for planning, architecting, and building Excel applications that are robust, secure, easy to maintain, and highly usable. If you''re a working developer, no other book on Excel programming offers you this much depth, insight, or value.

* Design worksheets that will be more useful and reliable

* Leverage built-in and application-specific add-ins

* Construct applications that behave like independent Windows programs

* Make the most of the new Ribbon user interface

* Create cross-version applications that work with legacy versions of Excel

* Utilize XML within Excel applications

* Understand and use Windows API calls

* Master VBA error handling, debugging, and performance optimization

* Develop applications based on data stored in Access, SQL Server, and other databases

* Build powerful visualization solutions with Excel charting engine

* Learn how to work with VB.NET and leverage its IDE

* Automate Microsoft Excel with VB.NET

* Create managed COM add-ins for Microsoft Excel with VB.NET

* Develop Excel solutions with Visual Studio Tools for Office (VSTO)

* Integrate Excel with Web Services

* Deploy applications more securely and efficiently

 

Contents

Chapter 1 Introduction
1
Chapter 2 Application Architectures
13
Chapter 3 Excel and VBA Development Best Practices
27
Chapter 4 Worksheet Design
69
Chapter 5 Function General and ApplicationSpecific Addins
107
Chapter 6 Dictator Applications
141
Chapter 7 Using Class Modules to Create Objects
165
Chapter 8 Advanced Command Bar Handling
197
Chapter 17 Optimizing VBA Performance
545
Chapter 18 Introduction to Database Development
577
Chapter 19 Programming with Access and SQL Server
615
Chapter 20 Data Manipulation Techniques
661
Chapter 21 Advanced Charting Techniques
687
Chapter 22 Controlling Other Office Applications
709
Chapter 23 Excel and Visual Basic 6
741
Chapter 24 Excel and VBNET
817

Chapter 9 Introduction to XML
249
Chapter 10 The Office 2007 Ribbon User Interface
273
Chapter 11 Creating CrossVersion Applications
303
Chapter 12 Understanding and Using Windows API Calls
331
Chapter 13 UserForm Design and Best Practices
375
Chapter 14 Interfaces
433
Chapter 15 VBA Error Handling
465
Chapter 16 VBA Debugging
507
Chapter 25 Writing Managed COM Addins with VBNET
889
Chapter 26 Developing Excel Solutions with Visual Studio Tools for Office System VSTO
975
Chapter 27 XLLs and the C API
1029
Chapter 28 Excel and Web Services
1065
Chapter 29 Providing Help Securing Packaging and Distributing
1085
Index
1107
Copyright

Common terms and phrases

About the author (2009)

Rob Bovey, President of Application Professionals, has developed several Excel add-ins shipped by Microsoft. He coauthored the Microsoft Excel 97 Developers Kit and Excel 2007 VBA Programmer's Reference. Dennis Wallentin has developed Excel solutions since the 1980s through his firm, XL-Dennis, based in Östersund, Sweden. Stephen Bullen, coauthor of The Excel 2007 VBA Programmer's Reference, owns Office Automation, Ltd., based in Essex, Ireland. John Green owns Execuplan Consulting, a Sydney, Australia-based consultancy specializing in Excel and Access development. Bovey, Bullen, and Green hold Microsoft's prestigious Most Valuable Professional (MVP) honor.

Bibliographic information