Skip to content

Excel VBA Macro Programming

Best in textbook rentals since 2012!

ISBN-10: 0072231440

ISBN-13: 9780072231441

Edition: 2004

Authors: Richard Shepherd

List price: $42.00
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

Make Excel work harder and faster for you. This unique book presents sample code for more than twenty practical, high-powered Excel VBA macro applications. You"ll get all the essentials of VBA, and then explore ways to power Excel with VBA. Automate tasks, convert numbers to labels, transpose cells, add formula details, globally changes values, and much, much more.
Customers also bought

Book details

List price: $42.00
Copyright year: 2004
Publisher: McGraw-Hill Education
Publication date: 2/4/2004
Binding: Paperback
Pages: 320
Size: 7.00" wide x 9.00" long x 1.00" tall
Weight: 1.386

Acknowledgments
Introduction
Programming in Excel VBA
The Basics
Exploring the Visual Basic Editor in Excel
Variables, Arrays, Constants, and Data Types
Variables
Data Types
VBA Data Types
Arrays
User-Defined Types
Constants
Reserved Words
Modules, Functions, and Subroutines
Modules
The Difference Between Subroutines and Functions
Writing a Simple Subroutine
Writing a Simple Function
Public and Private Functions and Subroutines
Argument Data Types
Optional Arguments
Passing Arguments by Value
Programming Basics: Decisions and Looping
Decisions
Looping
Strings and Functions and Message Boxes
Strings
Functions
Conversion Functions
Format Function
Date and Time Functions
SendKeys Command
Message Boxes
Operators
Arithmetic Operators
Comparison Operators
Concatenation Operator
Logical Operators
Other Operators
Debugging
Types of Errors
Design Time, Runtime, and Break Mode
Breakpoints
Using Stop Statements
Running Selected Parts of Your Code
The Debug Window
Events That Can Cause Problems When Debugging
Using Message Boxes in Debugging
Avoiding Bugs
Errors and the Error Function
The Resume Statement
Implications of Error Trapping
Generating Your Own Errors
Dialogs
Viewing Your Form
Displaying Your Form in Code
Populating Your Form
Default Toolbox Controls
Common Dialog Control
Using the Common Dialog Control
Default Dialogs
Command Bars and Buttons
Command Bars
Command Buttons
Object Models
The Excel Object Model
Properties and Methods Explained
Using the Object Browser
Hierarchy
Recording Macros
The Excel Object Model--Main Objects
Application Object
Workbook Object
Windows Object
Worksheet Object
Range Object
Using Excel to Interact with Other Office Programs
Driving Microsoft Outlook
Driving Excel from Other Office Programs
Advanced Techniques in Excel VBA
Charts and Graphs
Working with Databases
ODBC Links
Using ADO
API Calls
What Is an API Call?
Using an API Call
Class Modules
Inserting a Class Module
Creating an Object
Creating a Collection
Using the PNames Collection
Animation
VBA in Action
Converting Labels to Numbers and Numbers to Labels
Transposing a Range of Cells
Adding Formula Details into Comments
Calculating a Range
Reversing a Label
Who Created the Workbook?
Evaluating a Cell
Sorting Worksheets into Alphabetical Order
Replacing Characters in a String
Timed Events
Auto Totaling a Matrix of Numbers
Absolute and Relative Formulas
Coloring Alternate Rows and Columns of the Spreadsheet
Coloring Cells Containing Formulas
Summing Cells by Reference to a Master Cell
Globally Changing a Range of Values
Displaying Hidden Sheets Without a Password
Searching Multiple Sheets and Workbooks
Brighten Up Your Comments
An Alternative to Message Boxes
Working with Shapes
Turning Your VBA Code into an Add-In
ASCII Character Codes
Index