Book description
Excel 2007 Programming by Example with XML and ASP offers a hands-on approach for those looking to extend and customize Excel functionality. From recording a simple macro and writing VBA code to working with XML documents and using ASP to accss and display data, this book takes you on a progrmming journey that will change the way you work with Excel.
Learn how to automate spreadsheet tasks with macros; write VBA code to program PivotTables, generate charts, build dialog boxes, and customize the Ribbon; handle errors and debug programs; create hyperlinks and publish HTML files.
Retrieve data from the web directly into Excel; develop and manipulate smart tags using XML.
Table of contents
-
Excel 2007 VBA Programming with XML and ASP
- Copyright
- Acknowledgments
- Introduction
-
Part I: Introduction to Excel 2007 VBA Programming
-
Chapter 1: Automating Spreadsheet Tasks with Macros
- What Are Macros?
- Common Uses for Macros
- Excel 2007 Versions and File Formats
- Macro Security Settings
- Planning a Macro
- Recording a Macro
- Executing Macros
- Editing Macros
- Macro Comments
- Analyzing the Macro Code
- Cleaning Up the Macro Code
- Testing the Modified Macro
- Two Levels of Macro Execution
- Improving Your Macro
- Renaming the Macro
- Other Methods of Running Macros
- Saving Macros
- Printing Macros
- Storing Macros in the Personal Macro Workbook
- Chapter Summary
-
Chapter 2: Exploring the Visual Basic Editor (VBE)
- Understanding the Project Explorer Window
- Understanding the Properties Window
- Understanding the Code Window
- Other Windows in the Visual Basic Editor Window
- Assigning a Name to the VBA Project
- Renaming the Module
- Understanding Digital Signatures
- Creating a Digital Certificate
- Signing a VBA Project
- Chapter Summary
-
Chapter 3: Excel VBA Fundamentals
- Understanding Instructions, Modules, and Procedures
- Calling a Procedure from Another Project
- Understanding Objects, Properties, and Methods
- Microsoft Excel Object Model
- Writing VBA Statements
- Understanding VBA Errors
- In Search of Help
- On-the-fly Syntax and Programming Assistance
- Using the Object Browser
- Using the VBA Object Library
- Locating Procedures with the Object Browser
- Using the Immediate Window
- Learning about Objects
- Working with Worksheet Cells
- Working with Workbooks and Worksheets
- Working with Windows
- Managing the Excel Application
- Chapter Summary
-
Chapter 4: Using Variables, Data Types, and Constants
- Saving Results of VBA Statements
- What Are Variables?
- Data Types
- How to Create Variables
- How to Declare Variables
- Specifying the Data Type of a Variable
- Assigning Values to Variables
- Forcing Declaration of Variables
- Understanding the Scope of Variables
- Lifetime of Variables
- Understanding and Using Static Variables
- Declaring and Using Object Variables
- Finding a Variable Definition
- Using Constants in VBA Procedures
- Chapter Summary
- Chapter 5: VBA Procedures: Subroutines and Functions
-
Chapter 1: Automating Spreadsheet Tasks with Macros
- Part II: Controlling Program Execution
- Part III: Keeping Track of Multiple Values
- Part IV: Error Handling and Debugging
- Part V: Manipulating Files and Folders with VBA
- Part VI: Controlling Other Applications with VBA
- Part VII: Enhancing the User Experience
-
Part VIII: Programming Excel Special Features
- Chapter 22: Printing and Sending E-mail from Excel
-
Chapter 23: Programming PivotTables and PivotCharts
- Creating a PivotTable Report
- Removing PivotTable Detail Worksheets with VBA
- Creating a PivotTable Report Programmatically
- Creating a PivotTable Report from an Access Database
- Formatting, Grouping, and Sorting a PivotTable Report
- Hiding Items in a PivotTable
- Adding Calculated Fields and Items to a PivotTable
- Creating a PivotChart Report Using VBA
- Chapter Summary
- Chapter 24: Using and Programming Excel Tables
- Chapter 25: Programming Special Features
- Chapter 26: Programming the Visual Basic Editor (VBE)
-
Part IX: Excel and Web Technologies
- Chapter 27: HTML Programming and Web Queries
- Chapter 28: Excel and Active Server Pages
-
Chapter 29: Using XML in Excel 2007
- What Is XML?
- Well-Formed XML Documents
- Validating XML Documents
- Editing and Viewing an XML Document
- Opening an XML Document in Excel
- Working with XML Maps
- Working with XML Tables
- Exporting an XML Table
- XML Export Precautions
- Validating XML Data
- Programming XML Maps
- Creating XML Schema Files
- Using XML Events
- The XML Document Object Model
- Working with XML Document Nodes
- Retrieving Information from Element Nodes
- XML via ADO
- Understanding Namespaces
- Understanding Open XML Files
- Chapter Summary
- Chapter 30: Using and Programming Smart Tags
- Index
Product information
- Title: Excel 2007 VBA Programming with XML and ASP
- Author(s):
- Release date: December 2008
- Publisher(s): Jones & Bartlett Learning
- ISBN: 9780763782764
You might also like
book
Access 2007 Programming by Example with VBA, XML, and ASP
Access 2007 Programming by Example with VBA, XML, and ASP shows non-programmers how Access databases can …
book
Excel® 2007 VBA Programmer's Reference
Get ready to take your Excel applications to the next level by harnessing the power of …
book
Access™ 2007 VBA Programmer's Reference
This resource provides the tools you need to leverage Access 2007's built-in functionality and VBA in …
book
Pro Excel 2007 VBA
Pro Excel 2007 VBA is the complete guide to creating Excel VBA applications, including coverage of …