Excel 2000 Programming For Dummies

by ;
Edition: 1st
Format: Paperback
Pub. Date: 1999-08-05
Publisher(s): For Dummies
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $31.49

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

If you're ready to take the next step with Excel, then look no further. By using VBA (Visual Basic Application), you can discover a side of Microsoft Excel that most users never uncover. Excel 2000 Programming For Dummies introduces you to a wide array of new Excel options, including options for creating new worksheet functions; automating tasks and operations; creating new appearances, toolbars, and menus; and doing much more.First, you get well-acquainted with the most important tools and operations for the Visual Basic Editor; then, you get a quick overview of the essential elements and concepts for programming with Excel. Discover techniques for handling errors and exterminating bugs, the basics of working with range objects and controlling program flow, and much more. With friendly advice on the easiest ways to develop custom dialog boxes (also known as UserForms) and create custom toolbars and menus, you'll soon be creating the interfaces that best suit your unique needs.By the time you rip through Excel 2000 Programming For Dummies, you'll not only have maximized your macros, you'll have moved on to creating Excel applications with the best programmers on the block.

Author Biography

<b>John Walkenbach</b> is one of the country's leading authorities on spreadsheet software. He's principal of Jwalk and Associates Inc., a Southern California-based consulting firm that specializes in spreadsheet application development. John is also a shareware developer, and his most popular product is the Power Utility Pak add-in for Excel. John has written more than 250 articles and reviews for publications such as <i>PC World, InfoWorld, Windows</i>, and <I>PC/Computing</i>. In addition, he's authored more than 20 other spreadsheet books, including <i>Excel 97 Bible, Excel 97 For Windows For Dummies Quick Reference</i>, and <i>Excel 97 Programming For Windows For Dummies</i>. jwalk.com). When he's not banging away on his computer keyboard, he's probably banging away on one of his guitars, trying to cop a few blues licks from Freddie King.

Table of Contents

Introductionp. 1
What This Book Coversp. 1
So You Want to Be a Programmer ...p. 2
Why Bother?p. 3
What I Assume about Youp. 3
Obligatory Typographical Conventions Sectionp. 4
How This Book Is Organizedp. 5
Marginal Iconsp. 6
Wanna Reach Out?p. 7
Now What?p. 7
Introducing VBAp. 9
What Is VBA?p. 11
Okay, So What Is VBA?p. 11
What Can You Do with VBA?p. 12
Advantages and Disadvantages of VBAp. 15
VBA in a Nutshellp. 16
An Excursion into Versionsp. 18
Jumping Right Inp. 21
What You'll Be Doingp. 21
First Stepsp. 22
Recording the Macrop. 22
Testing the Macrop. 24
Examining the Macrop. 25
Modifying the Macrop. 27
More about This Macrop. 29
How VBA Works with Excelp. 31
Introducing the Visual Basic Editorp. 33
What Is the VBE?p. 33
Working with the Project Explorerp. 36
Working with a Code Windowp. 37
Customizing the VBA Environmentp. 44
Introducing the Excel Object Modelp. 51
Excel Is an Object?p. 52
The Object Hierarchyp. 52
Understanding Collectionsp. 55
Referring to Objectsp. 56
Object Properties and Methodsp. 57
Finding Out Morep. 61
VBA Subroutines and Functionsp. 65
Subroutines versus Functionsp. 65
Executing Subroutinesp. 68
Executing Functionsp. 73
Using the Excel Macro Recorderp. 77
Is It Live, or Is It VBA?p. 77
Recording Basicsp. 78
Types of Macros Appropriate for Recordingp. 79
Preparing to Recordp. 80
Relative or Absolute?p. 80
What Gets Recorded?p. 83
Recording Optionsp. 84
Is This Thing Efficient?p. 86
Programming Conceptsp. 89
Essential VBA Language Elementsp. 91
Using Comments in Your Codep. 91
Using Variables, Constants, and Data Typesp. 93
Using Assignment Statementsp. 104
Working with Arraysp. 106
Using Labelsp. 108
Working with Range Objectsp. 111
A Quick Reviewp. 111
Other Ways to Refer to a Rangep. 112
Some Useful Range Object Propertiesp. 114
Some Useful Range Object Methodsp. 119
Using VBA and Worksheet Functionsp. 123
What Is a Function?p. 123
Using VBA Functionsp. 124
Using Worksheet Functions in VBAp. 129
More about Using Worksheet Functionsp. 133
Using Custom Functionsp. 134
Controlling Program Flow and Making Decisionsp. 135
Go with the Flow, Dudep. 135
The GoTo Statementp. 136
Decisions, Decisionsp. 137
Knocking Your Code for a Loopp. 144
Looping through a Collectionp. 150
Automatic Procedures and Eventsp. 153
Preparing for the Big Eventp. 153
Where Does the VBA Code Go?p. 156
Writing an Event-Handler Subroutinep. 157
Introductory Examplesp. 159
Examples of Activation Eventsp. 162
Other Worksheet-Related Eventsp. 165
Events Not Associated with Objectsp. 168
Error-Handling Techniquesp. 171
Types of Errorsp. 171
An Erroneous Examplep. 172
Another Way to Handle Errorsp. 176
Handling Errors The Detailsp. 178
An Intentional Errorp. 183
Bug Extermination Techniquesp. 185
Species of Bugsp. 185
Identifying Bugsp. 186
Debugging Techniquesp. 187
About the Debuggerp. 189
Bug Reduction Tipsp. 194
VBA Programming Examplesp. 197
Working with Rangesp. 197
Changing Excel Settingsp. 205
Changing Non-Boolean Settingsp. 206
Working with Chartsp. 206
VBA Speed Tipsp. 209
Developing Custom Dialog Boxesp. 213
Custom Dialog Box Alternativesp. 215
Why Create Dialog Boxes?p. 215
Do You Really Need a Custom Dialog Box?p. 216
The MsgBox Functionp. 216
The InputBox Functionp. 221
The GetOpenFilename Methodp. 223
The GetSaveAsFilename Methodp. 227
Displaying Excel's Built-In Dialog Boxesp. 227
Custom Dialog Box Basicsp. 231
When a Custom Dialog Box Is Usefulp. 231
Creating Custom Dialog Boxes: An Overviewp. 232
Working with UserFormsp. 233
A Custom Dialog Box Examplep. 237
Using Dialog Box Controlsp. 245
Getting Started with Dialog Box Controlsp. 245
Dialog Box Controls -- the Detailsp. 249
Working with Dialog Box Controlsp. 259
Dialog Box Aestheticsp. 262
Dialog Box Techniques and Tricksp. 263
Using Dialog Boxesp. 263
An Examplep. 264
More Dialog Box Examplesp. 270
A Dialog Box Checklistp. 283
Creating Custom Toolbars and Menusp. 285
Customizing the Excel Toolbarsp. 287
Introducing CommandBarsp. 287
What You Can Do with Toolbarsp. 287
Working with Toolbarsp. 289
Adding and Removing Toolbar Controlsp. 293
Distributing Toolbarsp. 295
Using VBA to Manipulate Toolbarsp. 296
VBA Examplesp. 300
When the Normal Excel Menus Aren't Good Enoughp. 305
Menu Terminologyp. 305
How Excel Handles Menusp. 306
Customizing Menus Directlyp. 307
The CommandBar Objectp. 308
Some Menu Examplesp. 311
Working with Shortcut Menusp. 318
Finding Out Morep. 320
Putting It All Togetherp. 321
Creating Worksheet Functions -- and Living to Tell about Itp. 323
Why Create Custom Functions?p. 323
Function Basicsp. 324
Writing Functionsp. 325
Function Argumentsp. 325
Function Examplesp. 326
The Paste Function Dialog Boxp. 334
Creating Excel Add-Insp. 337
Okay ... So What Is an Add-In?p. 337
Why Create Add-Ins?p. 338
Working with Add-Insp. 338
Add-In Basicsp. 339
An Add-In Examplep. 340
Creating Excel Applications for Othersp. 347
What Is a Spreadsheet Application?p. 347
Application Development, Step By Stepp. 349
The Part of Tensp. 357
Ten VBA Tips and Tricksp. 359
Getting VBA Help, Fastp. 359
Speeding Up Your Macrosp. 359
Avoiding Excel's Questionsp. 359
Displaying One Procedure at a Timep. 360
Using With-End Withp. 360
Reducing the Size of a Workbookp. 361
Avoiding a Workbook_Open Subroutinep. 361
Using Your Personal Macro Workbookp. 361
Displaying Messages in the Status Barp. 362
Forcing Yourself to Declare All Variablesp. 362
Ten VBA Questions (And Answers)p. 363
The Top Ten Questions about VBAp. 363
Ten Excel Resourcesp. 367
The VBA Online Help Systemp. 367
Microsoft Product Supportp. 367
Internet Newsgroupsp. 367
Internet Web Sitesp. 368
Internet Mailing Listsp. 369
Online Newslettersp. 369
Online Servicesp. 369
Local User Groupsp. 370
My Bookp. 370
My E-mail Addressp. 370
Indexp. 371
Book Registration Information
Table of Contents provided by Syndetics. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.