Writing Excel Macros with VBA, 2/e

Steven Roman

  • 出版商: O'Reilly
  • 出版日期: 2002-07-30
  • 售價: $1,560
  • 貴賓價: 9.5$1,482
  • 語言: 英文
  • 頁數: 574
  • 裝訂: Paperback
  • ISBN: 0596003595
  • ISBN-13: 9780596003593
  • 相關分類: Excel
  • 已過版

買這商品的人也買了...

相關主題

商品描述

Newly updated for Excel 2002, Writing Excel Macros with VBA, 2nd Edition provides Excel power-users, as well as programmers who are unfamiliar with the Excel object model, with a solid introduction to writing Visual Basic for Applications (VBA) macros and programs for Excel. In particular, the book focuses on:

  • The Visual Basic Editor and the Excel VBA programming environment. Excel features a complete, state-of-the-art integrated development environment for writing, running, testing, and debugging VBA macros.


The VBA programming language, the same programming language used by the other applications in Microsoft Office XP and 2000, as well as by the retail editions of Visual Basic 6.0. The Excel object model, including new objects and new members of existing objects in Excel 2002. Excel exposes nearly all of its functionality through its object model, which is the means by which Excel can be controlled programmatically using VBA. While the Excel object model, with 192 objects, is the second largest among the Office applications, you need to be familiar with only a handful of objects to write effective macros. Writing Excel Macros focuses on these essential objects, but includes a discussion of many more objects as well.

Writing Excel Macros with VBA, 2nd Edition is written in a terse, no-nonsense manner that is characteristic of Steven Roman's straightforward, practical approach. Instead of a slow-paced tutorial with a lot of handholding, Roman offers the essential information about Excel VBA that you must master to write macros effectively. This tutorial is reinforced by interesting and useful examples that solve common problems you're sure to have encountered.

Writing Excel Macros with VBA, 2nd Edition is the book you need to delve into the basics of Excel VBA programming, enabling you to increase your power and productivity.

Table of Contents

Preface

1. Introduction

Part I. The VBA Environment

2. Preliminaries

3. The Visual Basic Editor, Part I

4. The Visual Basic Editor, Part II

Part II. The VBA Programming Language

5. Variables, Data Types, and Constants

6. Functions and Subroutines

7. Built-in Functions and Statements

8. Control Statements

Part III. Excel Applications and the Excel Object Model

9. Object Models

10. Excel Applications

11. Excel Events

12. Custom Menus and Toolbars

13. Built-In Dialog Boxes

14. Custom Dialog Boxes

15. The Excel Object Model

16. The Application Object

17. The Workbook Object

18. The Worksheet Object

19. The Range Object

20. Pivot Tables

21. The Chart Object

22. Smart Tags

Part IV. Appendixes

A. The Shape Object

B. Getting the Installed Printers

C. Command Bar Controls

D. Face IDs

E. Programming Excelfrom Another Application

F. High-Level and Low-Level Languages

G. New Objects in Excel XP

Index