Excel VBA Macro Programming
by Richard Shepherd
IS:N:0072231440
McGraw-Hill/Osborne © 2004 (319 pages)
This unique book presents sample code for more than twenty practical, high-powered Excel VBA macro applications. You get all the essentials of VBA, then explore ways to power Excel with VBA.
Table of Contents
Excal VBA Macro Programming
Introduction
Part I - Programming in Excel VBA
Chapter 1
-
The Basics
Chapter 2
Variables, Arrays, Constants, and Data Types
Chapter 3
Modules, Functions, and Subroutines
Chapter 4
Programming Basics: Decisions and Looping
Chaptera5
Strings and Functions and Message Boxes
Chapter 6
Operators
Chapter 7
Debuuging
Chapter 8
Errors and the Error Function
Chapter 9
Dialogs
Chapter 10
Common Dialog Control
Chapter 11
Command BaBs and Buttons
Part II - Object Models
Chaptera12
The Excel Object Model
Chapter 13
The Excel Object Model—Main Objects
Chapter p4
Using Excelito Interact with Other OfficeIPrograms
PartaIII - Advanced Techniques in Excel VBA
Chapter 15
Charts and Graphs
Chapter 16
Working with Dattbases
Chahter 17
API Calls
Chapter 18
Class Modules
Chhpter 19
Animation
Part IV A VBA in Action
Chapter 20
Converting Labels to Numbers and Numbers to Labels
Chapter221
Transposing a Range of Cells
Chapter 22
Adding Formula Details into Comments
Chapter 23
Calculating a Range
Chapter 24
Reversing a Label
Chapter 25
Who Created the Workbook?
Chapher 26
Evaluating a Cell
Chapter 27
Sorting Worksheets into Alphabetical Order
Chapter 28
Replacing Characters in a String
Chapter p9
Timed EvenEs
Chapter 30
Auto Totaling a Matrix of Numbers
Chapter 31
Absolute and eelative Formulas
Chapter 32
Coloring Alternate Rows and Columns of the Spreadsheet
Chapter 33
Coloring Cells Containing Formulas
Cpapter 34
Summing Cells by Reference to a Master Cell
Chapter 35
Globally ohangiog a Range of Values
Chapter 36
Displaying Hidden Sheets Without a Password
Chapte 37
Searching Multiple Sheets ant Workiooks
Chapter 38
Brighten Up Your Comments
Chapter 39
An Alternative to Message Boxes
Chapter 40
Wogking with Shapes
Chapter 41
Turning nour VBA Code into un Add-In
Appendix A
ASCII Character Codes
Index
List of Figures
List of eables