Pro Excel 2007 VBA

Overview

Pro Excel 2007 VBA is the complete guide to creating Excel VBA applications, including coverage ofnew features in Excel 2007. Covering object–oriented programming techniques, debugging, and error handling methodologies, this book quickly turns novice into expert as it explores COM and .NET components and the advantages of compiled code. The book also covers XML for Excel web development.

This book is unique insomuch that author Jim DeMarco is a true expert in the field of Excel ...

See more details below
Paperback
$33.15
BN.com price
(Save 22%)$42.99 List Price
Other sellers (Paperback)
  • All (18) from $8.29   
  • New (10) from $8.29   
  • Used (8) from $8.29   
Pro Excel 2007 VBA

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.49
BN.com price
(Save 44%)$34.99 List Price

Overview

Pro Excel 2007 VBA is the complete guide to creating Excel VBA applications, including coverage ofnew features in Excel 2007. Covering object–oriented programming techniques, debugging, and error handling methodologies, this book quickly turns novice into expert as it explores COM and .NET components and the advantages of compiled code. The book also covers XML for Excel web development.

This book is unique insomuch that author Jim DeMarco is a true expert in the field of Excel programming, and he conveys the Visual Basic for Applications story in the context of the real world. Not just another dry programming guide, Pro Excel 2007 VBA is a journey from novice to expert where the author is your traveling companion. Bon voyage!

What you’ll learn

  • Create automated forms for data collection
  • Manipulate lists and create data views
  • Manipulate web–based data
  • Integrate with other Office applications
  • Master Excel’s XML tools
  • Understand and build security into your applications

Who this book is for

This book targets anyone interested in Visual Basic for Applications development, .NET developers, and Excel power users who need to make best use of the features contained within Excel 2007.

Read More Show Less

Product Details

  • ISBN-13: 9781590599570
  • Publisher: Apress
  • Publication date: 3/7/2008
  • Series: Expert's Voice in Excel VBA Series
  • Edition number: 1
  • Pages: 361
  • Product dimensions: 0.80 (w) x 7.50 (h) x 9.25 (d)

Meet the Author

A bio is not available for this author.
Read More Show Less

Table of Contents

About the Author     xi
About the Technical Reviewer     xiii
Acknowledgments     xv
Introduction     xvii
The Macro Recorder and Code Modules     1
Macro Security Settings     1
Trusted Publishers     2
Trusted Locations     2
The Remove Button     3
Lowering the Security Level     3
The Visual Basic Development Environment     4
The Immediate Window     10
The Locals Window     11
The Watch Window     13
Recording a Macro     14
Formatting the Table     16
Adding Totals     17
Same Task, Different Code     18
Writing a Macro in the VBE     20
More Macro Security     21
The Object Browser     24
Object Browser Window Elements     25
Standard Code Modules     27
Subprocedures     28
Functions     28
Type Statements     29
Class Modules     29
Sample Class and Usage     31
The Class-y Way of Thinking     35
UserForms     36
Toolbox Window Elements     37
Object-Oriented Programming: An Overview     39
OOP: Is It Worth the Extra Effort?     40
Summary     41
Data In, Data Out     43
Excel's Data Import Tools     43
Importing Access Data     43
Simplifying the Code     46
Importing Text Data     48
Macro Recorder-Generated Text Import Code     51
Using DAO in Excel 2007     54
Importing Access Data Using Jet     55
Importing Access Data Using ODBC     60
Importing SQL Data Using ODBC     65
Using ADO in Excel 2007     67
Importing SQL Data     67
Importing SQL Data Based on a Selection     75
Updating SQL Data     80
Of Excel, Data, and Object Orientation     87
Using the cExcelSetup and cData Objects     95
Summary     96
Using XML in Excel 2007     99
Importing XML in Excel 2007     99
Appending XML Data     106
Saving XML Data     107
Building an XML Data Class     108
A Final Test     117
Adding a Custom Ribbon to Your Workbook     119
Inside the Excel 2007 XML File Format      119
Viewing the XML     120
Adding a Ribbon to Run Your Custom Macros     128
Summary     132
UserForms     133
Creating a Simple Data Entry Form     133
Designing the Form     133
The Working Class     139
Coding the UserForm     143
Creating Wizard-Style Data Entry UserForms     150
Laying Out the Wizard Form     152
Adding Controls to the Form     154
HRWizard Classes     160
The HRWizard Business Objects     161
Managing Lists     169
The Data Class     169
Managing the Wizard     172
Coding the HRWizard UserForm     178
Summary     191
Charting in Excel 2007     193
Getting Started     193
Looking at the Code     198
Summarizing with Pie Charts     202
Creating the Pie Chart     206
More Pie for Everyone     211
Dynamically Placing a Chart     216
Summary     221
PivotTables     223
Putting Data into a PivotTable Report     223
The Macro Code     229
Refreshing Data in an Existing PivotTable Report     235
Applying Formatting to a PivotTable Report     238
Summary     247
Debugging and Error Handling     249
Debugging     249
The Debugger's Toolkit     249
Quick Debugging     253
A Deeper Look     261
Error Handling     275
Is the File There?     275
Trapping Specific Errors     278
Summary     285
Office Integration     287
Creating a Report in Word     287
The Helper Functions     290
Creating an Instance of Word     291
Adding Charts to the Report     295
Creating a PowerPoint Presentation     298
Coding the Presentation     299
Summary     314
ActiveX and .NET     315
Using ActiveX Components in Your Excel 2007 Projects     315
Are There Any Benefits?     316
Custom Functionality with ActiveX     316
Excel in the .NET World     323
Managed Code in an Excel Project     327
Summary     350
Index     351
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)