Programming Books C Java PHP Python Learn more Browse Programming Books
VSTO for Mere Mortals¿ and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $0.35 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading VSTO for Mere Mortals¿ on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

VSTO for Mere Mortals¿: A VBA Developer's Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office [Paperback]

Kathleen McGrath , Paul Stubbs
4.2 out of 5 stars  See all reviews (9 customer reviews)

List Price: $54.99
Price: $38.43 & FREE Shipping. Details
You Save: $16.56 (30%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 2 left in stock (more on the way).
Ships from and sold by Gift-wrap available.
Want it Monday, July 14? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student


Amazon Price New from Used from
Kindle Edition $26.39  
Paperback $38.43  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

January 8, 2007 0321426711 978-0321426710 1

Praise for VSTO for Mere Mortals™

"This is the book I wish I'd had when I was first introduced to VSTO and the .NET Framework. It will be invaluable not only to those considering VSTO, but for anyone transitioning from Office VBA to Visual Basic.NET. The wide range of subjects covered provides an entry point for the more in-depth, developer-oriented documentation available on MSDN and elsewhere."

–Cindy Meister, MS Word MVP

" VSTO for Mere Mortals™ does a great job of building a bridge between the worlds of VBA and VSTO. Kathleen and Paul show how a VBA developer can have the richness of Office and also the power, maintainability, and security of Visual Studio. They succeeded in writing a book that is approachable, understandable, and compelling."

–KD Hallman, General Manager, Microsoft, Developer Division

"This book is an excellent choice for VBA developers looking to make the switch to .NET development for Office using Visual Studio Tools for Office. In many instances VB.NET code is presented alongside equivalent VBA code to help illustrate key conceptual and usage differences."

–Steve Hansen,, author of Mastering Excel 2003 Programming with VBA and coauthor of Mastering Excel 2000 Premium Edition

"Visual Studio 2005 Tools for Office is the way to go for building managed Office applications. If you're moving from VBA to managed code, this book shows you the way."

–Ken Getz, Senior Consultant, MCW Technologies, LLC

"This book is highly recommended for VBA developers who are interested in doing Office programming using the rich power of Visual Studio and .NET."

–Mei Liang, Software Design Engineer in Test, Microsoft

"Kathleen McGrath has stuffed VSTO for Mere Mortals™ with in-depth code samples that demonstrate VSTO in an easy-to-understand way. From simple how-to's to advanced functionality, it's all here. I learned a great deal from reading this book."

–Justin Whitney, Technical Journalist

"This book provides an instantly accessible resource for VBA and Office developers to become familiar with the powerful new Office development platform, but even goes beyond that, providing a number of 'worth the purchase of the book' tips, fully functional examples, and elegant methods from someone who has obviously spent a lot of time with these tools to help the mortal on the path to becoming a guru."

–Rory Plaire, Solutions Architect, DigitalCommons LLC

"For the Office VBA developer interested in programming in .NET or the .NET programmer looking to move to the Office platform, this book is worth its weight in gold. If you are looking for a complete, well-written source to quickly get you up to speed to develop and program Office solutions in Visual Studio 2005, I believe this book is a must-have."

–Frank Rice, Programming Writer, Microsoft Office Developer Center

"With this book, VBA developers have access to a great resource that will help them understand essential concepts of managed code and best practices to migrate VBA solutions to Visual Basic 2005 and Visual Studio 2005 Tools for Office. This book goes beyond an introduction to VSTO to introduce the new world of VSTO 2005 SE and the 2007 Microsoft Office system."

–Erika Ehrli Cabral, Site Manager, MSDN Office Developer Center, Microsoft

"Kathleen and Paul have been involved with VSTO in one way or the other from its very beginnings, and it shows. Their depth and breadth of knowledge is reflected in this detailed and authoritative book. I highly recommend it for any professional developer making the transition from VBA to managed code."

–Eric Lippert, Software Design Engineer, Microsoft

VSTO for Mere Mortals™ is for VBA developers who are interested in migrating their skills to the next generation of Office development. Readers will benefit from a straightforward, practical introduction to writing managed code applications for Word 2003, Excel 2003, and Outlook 2003. Readers will also learn how to create add-ins for the most popular applications for Office 2003 and the 2007 Microsoft Office system using VSTO 2005 SE.

The expert authors provide a wealth of code samples that show off popular features of VSTO, such as smart tags and the actions pane. Sample code also shows you how to customize the new UI features of the 2007 Microsoft Office system, including the ribbon, custom task pane, and Outlook forms region.

VBA developers will walk away with

  • A greater understanding of managed code and the Visual Studio integrated development environment (IDE)
  • Multiple demonstrations on how to create document-level customizations for Word 2003 and Excel 2003, using view controls, data binding, and the actions pane
  • A comprehensive overview of add-in development for Outlook 2003
  • Useful information on securing and deploying solutions created with VSTO and VSTO 2005 SE
  • A thorough explanation on how to migrate VBA solutions to Visual Basic 2005 and VSTO
  • Numerous details on customizing the ribbon, custom task pane, and Outlook form regions by developing VSTO 2005 SE add-ins for the 2007 Microsoft Office system

Frequently Bought Together

VSTO for Mere Mortals¿: A VBA Developer's Guide to Microsoft Office Development Using Visual Studio 2005 Tools for Office + Visual Studio Tools for Office 2007: VSTO for Excel, Word, and Outlook
Price for both: $79.06

Buy the selected items together

Editorial Reviews

About the Author

Kathleen McGrath is a programming writer at Microsoft. She has written documentation for Visual Studio 2005 Tools for the Microsoft Office System (VSTO), Visual Studio Tools for Applications (VSTA), and Visual Basic. Prior to joining Microsoft, she worked as a VBA developer customizing Word applications in the financial printing and legal industries. Kathleen has also created short video demonstrations of the features of VSTO and Visual Basic on her blog at

Paul Stubbs works as a program manager with the Visual Studio Tools for Office (VSTO) team at Microsoft. In addition to VSTO, Paul works with the VSTA team developing a new managed code application programmability development tool for InfoPath 2007 and independent software vendors (ISVs). Paul has written for MSDN Magazine and has spoken at such events as TechEd and TechReady. Paul also participates in the developer community on the Microsoft forums and his blog at

Excerpt. © Reprinted by permission. All rights reserved.

The target audience for Visual Studio Tools for Office (VSTO) is the "professional developer." The term "professional developer" has several meanings, but the most agreed-upon definition we've heard is that it is someone who gets paid to write code. In other words, it's their primary job. It's not the departmental developer: the accountant who writes Excel macros as part of his accounting tasks or the word processing operator who customizes Word to increase her productivity. Instead, it is the .Net developer who might be interested in using Office as a development platform.

Prior to joining Microsoft, we both worked as VBA developers, customizing Office applications, and were very much interested in learning about managed code. We don't think that we are unique in that respect. There are millions of VBA developers today, many of whom are interested in learning about this next generation of Office development. Current books and documentation for VSTO are typically not written with the VBA developer in mind—it's assumed that the developer is familiar with Visual Studio, object-oriented programming, and the .NET Framework. The focus is (understandably) more on the features of VSTO, and how to work with the hefty Office object models.

We wanted to write a book for the VBA developer audience, and while you might not be familiar with .NET programming, this is where you have an advantage. You already are an Office developer who most likely has a lot of experience with manipulating the Office object models, as well as possessing power-user knowledge of the application. We can't think of a better environment to learn about managed code than within the context of something you are already familiar with: Office development.

VSTO brings Office development to the .NET world, and it has both disadvantages and advantages over using VBA. There are some amazing things you can do to customize Word, Excel. and Outlook with relative ease using VSTO (e.g., creating a customized task pane, adding smart tags to a document, and binding objects on a document to a data source). With the VSTO 2005 SE, you can create add-ins for six Office applications, customize the new ribbon UI feature of Microsoft Office 2007, and create application-level custom task panes.

We've had the advantage of working with the folks who designed, coded, tested, and documented VSTO, all of whom we have learned a great deal from. We've had an insider view of VSTO, and we hope to convey that information to you in an understandable and enjoyable manner.

Product Details

  • Paperback: 736 pages
  • Publisher: Addison-Wesley Professional; 1 edition (January 8, 2007)
  • Language: English
  • ISBN-10: 0321426711
  • ISBN-13: 978-0321426710
  • Product Dimensions: 1.4 x 6.8 x 9.1 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #1,339,174 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.2 out of 5 stars
4.2 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
10 of 10 people found the following review helpful
4.0 out of 5 stars Not everyone's cup of tea October 13, 2009
A VBA programmer migrating to VSTO will appreciate a thorough yet easy-going introduction to Visual Studio and VB, discussion of deployment, etc. A VB programmer will be less happy, feeling that pages taken up by the already-familiar material would be better spent on VSTO proper. A C# programmer will share the sentiment, and, of course, notice that code here is exlusively VB. An Excel programmer - using VBA, VB or C# - will note that in the book Excel shares the stage with Word and Outlook, and accounts for but a fraction of the total page count. I am a C#/Excel fellow, and "VSTO for Mere Mortals" is clearly not the right choice for me: its coverage of VSTO + Excel is just not nearly sufficiently comprehensive or deep.
Was this review helpful to you?
9 of 9 people found the following review helpful
5.0 out of 5 stars Perfect for moving from VBA to VSTO April 28, 2007
Traditionally, developing on the Office platform meant that you would use VBA but Microsoft released Visual Studio Tools for Office (VSTO) a few years ago to let .NET developers use their skills to develop managed Office applications. Moving from VBA to .NET is not easy because you need to learn so much new stuff especially if you never touched .NET in any way. "VSTO for Mere Mortals" is a book targeted at VBA developers who never used .NET before.

In the first chapters, the authors explain what is VSTO and what features are available for developers. Chapter 2 and 3 introduce the Visual Studio development environment and managed code. Seasoned .NET developers will skip these chapters but they are essential for people who never used Visual Studio before. The next chapters cover everything VSTO from Word, Excel and Outlook development to Smart Tags and database development. A full chapter is devoted to new features of VSTO 2005 SE and Office 2007.

If you're a VBA developer that wants to jump into .NET development using VSTO, look no further, this is the book for you. Experienced .NET will also find this book interesting but will skip a couple of .NET introduction chapters.
Comment | 
Was this review helpful to you?
9 of 10 people found the following review helpful
5.0 out of 5 stars Great Book!! March 7, 2007
By M. Love
This book (VSTO for Mere Mortals) is very well written and easy to understand. I did not come from a programming background. I started by learning VBA so making the move from VBA to the .NET /VSTO world was a bit intimidating for me, however; after reading and following the examples in this book, making that leap is not as hard as I thought it would be. I love the detailed code samples in the book and the step-by-step way that they are presented. I really learned a lot from reading this book. Thank you to all that contributed to putting this book together.
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
By rogsonl
I found the book thorough and easy to read and follow. It reviewed .net extremely well, and made me aware of .net capabilities I had overlooked since the old ones worked.

I met a problem early on in my use of the book, communicated with the author, and got the help I needed to overcome the problem.

An excellent book on the subject.
Comment | 
Was this review helpful to you?
2.0 out of 5 stars Dated Material October 11, 2013
Format:Kindle Edition|Verified Purchase
Does not cover Office 2013, too old dated. Excel objects have changed over the various Office releases, very hard to relate to latest Office 2013 release.
Was this review helpful to you?

What Other Items Do Customers Buy After Viewing This Item?


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category