Microsoft Office Excel 2007 Visual Basic for Applications

Microsoft Office Excel 2007 Visual Basic for Applications

3.0 6
by Reed Jacobson
     
 

View All Available Formats & Editions

Quickly teach yourself how to automate tasks and create custom spreadsheet solutions with Excel 2007 Visual Basic for Applications (VBA). With Step By Step, you set the pace—building and practicing the skills you need, just when you need them!

  • Create macros to automate repetitive tasks
  • Automatically format charts, shapes, and

…  See more details below

Overview

Quickly teach yourself how to automate tasks and create custom spreadsheet solutions with Excel 2007 Visual Basic for Applications (VBA). With Step By Step, you set the pace—building and practicing the skills you need, just when you need them!

  • Create macros to automate repetitive tasks
  • Automatically format charts, shapes, and text
  • Manipulate tables and other objects—even build PivotTable reports
  • Write your own functions and procedures
  • Use loops and conditions to add decision logic to macros
  • Build custom command buttons, dialog boxes, and user forms

Your all-in-one learning experience includes:

  • Files for building skills and practicing the book’s lessons
  • Fully searchable eBook
  • Windows Vista® Product Guide eReference—plus other resources on CD

A Note Regarding the CD or DVD

The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via OReilly Medias Digital Distribution services. To download this content, please visit OReillys web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to booktech@oreilly.com.

Read More

Product Details

ISBN-13:
9780735624023
Publisher:
Microsoft Press
Publication date:
05/28/2007
Series:
Step by Step Series
Edition description:
Revised
Pages:
384
Product dimensions:
8.98(w) x 7.30(h) x 1.09(d)

Meet the Author

Reed Jacobson is an expert in Excel and a popular author. In addition to writing about Excel Visual Basic since its inception, other authoring credits include Microsoft SQL Server™ 2005 Analysis Services STEP BY STEP, Microsoft Excel 97 STEP BY STEP, Advanced Topics, and Microsoft Office 2000 Expert Companion. He has created several training courses on Microsoft Office and Visual Basic, and is a regular presenter at SQL PASS, Tech*Ed, and other Microsoft conferences and seminars. He is a senior architect for Hitachi Consulting, specializing in Business Intelligence solutions. Prior to joining Hitachi Consulting, Reed worked as a software application specialist for Hewlett Packard for 10 years and ran his own consulting firm for eight years. Reed received a BA in Japanese and Linguistics, an MBA from Brigham Young University, and he studied linguistics under a graduate fellowship at Cornell University.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Microsoft Office Excel 2007 Visual Basic for Applications 2.8 out of 5 based on 0 ratings. 5 reviews.
A.M.Rosa More than 1 year ago
I don't quite understand how this book got out of the proof-reading and technical review phase and made it to press. There are so many errors in the code and approaches that don't work, that a true beginner to VBA for Excel could easily get lost.

I would want to say that this book is an okay starting point for learning VBA, but I would be afraid that a beginner would get hopelessly confused. I think a better book for learning Excel VBA is VBA and Macros for Microsoft Office Excel 2007 (Business Solutions) by Bill Jelen and Tracy Syrstad.

While I am sure Mr. Jacobson is probably a decent developer and a nice person, he is a sloppy author. He relies too heavily on recording macros and then reworking them to try and teach VBA coding than actually taking the time to explain coding theory and getting you to think how to tackle the problems on your own. Even the fact that he has you type the code first before he explains why is annoying. I would rather the explanation first, giving me a chance to see if I could work the code out on my own, then have him tell me what the most efficient method is. I realize that this is probably also due to the Microsoft Press Step-by-Step formula for writing these books, but that is another reason why I do not like the series as a whole.

There are many typo's in the text with regard to code that wouldn't make the Macro's run if you didn't catch the error and then there are several things that don't work.

Examples:

In Chapter 5, Jacobson steps you through using the Immediate window to open a file, then moving the sheet to an open workbook, then moving it to its own new workbook (He does point out that Excel will not allow you to move the only sheet of a workbook to a new workbook without the interim step). In "simplifying" the recorded macro, he uses the ThisWorkbook object. This approach works fine if you have the code in the module of the holding spreadsheet you initially want to move the newly opened sheet to, as ThisWorkbook will always refer back to the workbook which the VBA module is in, but executing this in the Immediate window will not work because the command you used to open the file in the previous step caused that workbook to become the Active workbook, and thus the ThisWorkbook object is referring to the wrong workbook and the command doesn't work.

Also in Chapter 5: Working with Excel Tables, Jacobson takes you through how to simplify the recorded macro in order to manipulate the table totals and filters. The way he has coded the macro, the Subtotals do not refresh, so when you filter, the subtotals in the totals row are wrong. You need to F2 each of the cells in order for them to update as a simple F9 will not refresh them. While this may be a bug with Excel 2007 Tables and manipulating them with a VBA macro, this should have been tested and at least mentioned.

On the whole it is disappointing that the books published under the Microsoft name lack any sort of quality control standards and are at best basic. You would think that they would have the best insight into the product and would be the most valuable of learning tools for using the products creatively. But they aren't and as a result, I cannot recommend this book.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Anonymous More than 1 year ago
LindsayC More than 1 year ago
The first few chapters of this book are amazing for a beginner. I really learned a lot. But, when I stepped into Chapter 4 and beyond, there are MANY inaccuracies that made the book unreadable. The example the other reviewer gave in Chapter 5 of trying to move a workbook to a new file was dead on. I, a beginner, actually had to mentally correct many of the macros in Chapter 4 as I was reading. How did this book make it past proof reading?