did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781931841047

Microsoft Excel Vba Programming for the Absolute Beginner

by
  • ISBN13:

    9781931841047

  • ISBN10:

    1931841047

  • Format: Paperback
  • Copyright: 2002-04-02
  • Publisher: Cengage Learning Ptr
  • View Upgraded Edition

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $29.99 Save up to $7.50
  • Buy Used
    $22.49

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

Designed to help readers with no programming experience learn not only the basics of VBA, but also the fundamental programming concepts they need to grasp in order to learn their next programming language. CD-ROM included. Softcover.

Author Biography

Duane Birnbaum began programming in graduate school. Since completing his Ph.D. in physical chemistry, he has been working in academia and industry while teaching on a part-time basis. He is a part-time lecturer in the Computer Science Department at Indiana University/Purdue University -- Indianapolis

Table of Contents

Introductionp. x
Visual Basic for Applications with Excelp. 1
Project: Colorful Headerp. 2
The VBA Integrated Development Environment (IDE)p. 3
Getting to the IDE from Excelp. 3
Components of the IDEp. 4
Programming Components within Excelp. 8
Macro Selectionp. 8
The Visual Basic Toolbarp. 9
Getting Help with VBAp. 13
Excel Helpp. 14
VBA Helpp. 14
Installing VBA Help Filesp. 15
Constructing the Colorful Header Programp. 15
Chapter Summaryp. 19
Beginning Programs with VBAp. 21
Project: Time of Your Lifep. 22
Variables, Data Types, and Constantsp. 22
Declaring Variablesp. 23
Data Typesp. 27
Constantsp. 36
Simple Input and Output with VBAp. 37
Collecting User Input with InputBox()p. 37
Output with MsgBox()p. 38
Manipulating Strings with VBA Functionsp. 39
Fun with Stringsp. 40
Constructing the Time of Your Life Programp. 44
Project Statementp. 44
Project Toolsp. 44
Project Algorithmp. 44
Adding the Codep. 45
Chapter Summaryp. 49
Procedures and Conditionsp. 51
Project: Poker Dicep. 52
VBA Proceduresp. 52
Event Proceduresp. 52
Sub Proceduresp. 56
Function Proceduresp. 61
Logical Operators in VBAp. 64
Conditionals and Branchingp. 67
Constructing the Poker Dice Programp. 72
Project Statementp. 73
Project Toolsp. 73
Project Algorithmp. 75
Adding the Codep. 76
Chapter Summaryp. 84
Loops and Arraysp. 87
Project: The Math Gamep. 88
Looping with VBAp. 88
Do Loopsp. 89
For Loopsp. 91
Input Validationp. 94
Validation with the InputBox() Functionp. 95
Validation with a Spreadsheet Cellp. 97
Arraysp. 99
One-Dimensional Arraysp. 101
Multi-Dimensional Arraysp. 104
Dynamic Arraysp. 106
Programming Formulas into Worksheet Cellsp. 109
A1 Style Referencesp. 109
R1C1 Style Referencesp. 111
Chapter Project: Math Gamep. 112
Project Statementp. 112
Project Toolsp. 113
Project Algorithmp. 119
Adding the Codep. 122
Chapter Summaryp. 131
Basic Excel Objectsp. 133
Project: Battlecellp. 134
VBA and OOPp. 134
Objects Definedp. 135
VBA Collection Objectsp. 137
The Object Browserp. 139
Top-Level Excel Objectsp. 144
The Application Objectp. 145
The Workbook and Window Objectsp. 145
The Worksheet Objectp. 153
The Range Objectp. 154
Working with Objectsp. 157
Chapter Project: Battlecellp. 161
Project Statementp. 161
Project Toolsp. 162
Project Algorithmp. 162
Adding the Codep. 164
Chapter Summaryp. 184
Enhancing VBA Programs: Adding Multimedia and Intelligencep. 187
Project: Enhanced Battlecellp. 188
Adding Multimedia to a Programp. 188
Animation in VBAp. 188
Sound in VBAp. 200
Simulating Intelligence in Programsp. 203
Chapter Project: Enhanced Battlecellp. 204
Project Statementp. 204
Project Toolsp. 205
Project Algorithmp. 205
Adding the Codep. 208
Chapter Summaryp. 224
UserForms and Additional Controlsp. 227
Project: Blackjackp. 228
UserFormsp. 228
Adding a UserForm to a Projectp. 229
Components of the UserForm Objectp. 229
Adding ActiveX Controls to a UserFormp. 231
Showing and Hiding UserFormsp. 233
Modal Formsp. 233
Custom Dialog Boxes with UserFormsp. 235
Chapter Project: Blackjackp. 246
Project Statementp. 247
Project Toolsp. 247
Project Algorithmp. 247
Adding the Codep. 250
Chapter Summaryp. 267
Data Access, File I/O, Error Handling, and Debuggingp. 269
Project: Word Findp. 270
File Input and Output (I/O)p. 270
Using VBA File I/O Methodsp. 271
Error Handlingp. 283
Using the On Error Statementp. 283
Debuggingp. 287
Break Modep. 287
The Immediate Windowp. 289
The Watch Windowp. 290
The Locals Windowp. 291
Chapter Project: Word Findp. 292
Project Statementp. 292
Project Toolsp. 293
Project Algorithmp. 293
Adding the Codep. 296
Chapter Summaryp. 310
Excel Chartsp. 313
Project: The Alienated Gamep. 314
The Chart Objectp. 314
Accessing Existing Chartsp. 314
Manipulating Chartsp. 318
Creating Chartsp. 322
Chart Eventsp. 326
Chapter Project: The Alienated Gamep. 332
Project Statementp. 333
Project Toolsp. 333
Project Algorithmp. 333
Adding the Codep. 335
Chapter Summaryp. 355
VBA Shapesp. 357
Project: Excetrisp. 358
The Shapes Collection and Shape Objectsp. 358
Manipulating a Shape Objectp. 360
The ShapeRange Collection Objectp. 362
Activating Shape Objectsp. 365
The OLEObjects Collectionp. 366
Chapter Project: Excetrisp. 368
Project Statementp. 369
Project Toolsp. 369
Project Algorithmp. 370
Adding the Codep. 372
Chapter Summaryp. 395
A Final Wordp. 396
Indexp. 397
Table of Contents provided by Syndetics. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program