Programming Excel with VBA and .NET
Solve Real-World Problems with Excel
Publisher: O'Reilly Media
Final Release Date: April 2006
Pages: 1116

Why program Excel? For solving complex calculations and presenting results, Excel is amazingly complete with every imaginable feature already in place. But programming Excel isn't about adding new features as much as it's about combining existing features to solve particular problems. With a few modifications, you can transform Excel into a task-specific piece of software that will quickly and precisely serve your needs. In other words, Excel is an ideal platform for probably millions of small spreadsheet-based software solutions.

The best part is, you can program Excel with no additional tools. A variant of the Visual Basic programming language, VB for Applications (VBA) is built into Excel to facilitate its use as a platform. With VBA, you can create macros and templates, manipulate user interface features such as menus and toolbars, and work with custom user forms or dialog boxes. VBA is relatively easy to use, but if you've never programmed before, Programming Excel with VBA and .NET is a great way to learn a lot very quickly. If you're an experienced Excel user or a Visual Basic programmer, you'll pick up a lot of valuable new tricks. Developers looking forward to .NET development will also find discussion of how the Excel object model works with .NET tools, including Visual Studio Tools for Office (VSTO).

This book teaches you how to use Excel VBA by explaining concepts clearly and concisely in plain English, and provides plenty of downloadable samples so you can learn by doing. You'll be exposed to a wide range of tasks most commonly performed with Excel, arranged into chapters according to subject, with those subjects corresponding to one or more Excel objects. With both the samples and important reference information for each object included right in the chapters, instead of tucked away in separate sections, Programming Excel with VBA and .NET covers the entire Excel object library. For those just starting out, it also lays down the basic rules common to all programming languages.

With this single-source reference and how-to guide, you'll learn to use the complete range of Excel programming tasks to solve problems, no matter what you're experience level.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyProgramming Excel with VBA and .NET
 
5.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

(11 of 12 customers found this review helpful)

 
5.0

Great Reference Book

By Graham Jones

from Undisclosed

Comments about oreilly Programming Excel with VBA and .NET:

"Programming Excel with VBA & .NET" is certainly a very 'weighty' tome. At around 1100 pages you certainly get a lot of paper for your money! However, do you get value for your money? I have yet to read a book on this topic which is more comprehensive in its coverage in terms of the description of the Excel Object Model and the properties and methods, in many cases complete with useful examples. So in that regard it is an excellent reference. The benefit of the author being part of the Microsoft OLE Automation team when VB was added to Excel is very clear. The book also covers VBA itself in good depth. However, I feel that much of this could have been usefully relegated to a reference Appendix. If you are buying this book to learn VBA as such then there are many other excellent choices. The value in this book is in the application of VBA to Excel. You should not consider this book unless you are already very comfortable with VBA. If you are only just learning VBA but try to go on to read the rest of the book, you might find it hard going.

I have read other books that devote more space to and explain better the use of Ranges in VBA code; "pictures are worth a thousand words". If you cannot assimilate this aspect of VBA programming with Excel then you will struggle. Because of the recursive nature of Range references in Excel it can be a difficult concept to understand. I know personally that when I got the hang of that and how to use relative referencing with the R1C1 notation and to use the Cell object my productivity went up tremendously, and my frustration level dropped accordingly. Excel is probably the most difficult and complex application of the Office products when it comes to the Object Model and accordingly programming in VBA. On balance I would have no hesitation in recommending this book as part of your Excel VBA programming arsenal. Typically no one book can give you all of the insight that you need. Accordingly I feel comfortable in giving it 5 stars.

Displaying review 1

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $43.99
Formats:  DAISY, ePub, Mobi, PDF
Print & Ebook: $60.49
Print: $54.99