Wednesday, December 17, 2008

Microsoft Excel VBA Programming for the Absolute Beginner or Add in the WorkPlace

Microsoft Excel VBA Programming for the Absolute Beginner

Author: Duane Birnbaum

If you are new to programming with Microsoft Excel VBA and are looking for a solid introduction, this is the book for you. Developed by computer science professors, books in the "for the absolute beginner" series teach the principles of programming through simple game creation. Microsoft Excel VBA Programming for the Absolute Beginner, Third Edition provides you with the skills that you need for more practical Excel VBA programming applications and shows you how to put these skills to use in real-world scenarios. Best of all, by the time you finish the book, you will be able to apply the basic principles you've learned to the next programming language you tackle.



Table of Contents:
Introductionx
Chapter 1Visual Basic for Applications with Excel1
Project: Colorful Header2
The VBA Integrated Development Environment (IDE)3
Getting to the IDE from Excel3
Components of the IDE4
Programming Components within Excel8
Macro Selection8
The Visual Basic Toolbar9
Getting Help with VBA13
Excel Help14
VBA Help14
Installing VBA Help Files15
Constructing the Colorful Header Program15
Chapter Summary19
Chapter 2Beginning Programs with VBA21
Project: Time of Your Life22
Variables, Data Types, and Constants22
Declaring Variables23
Data Types27
Constants36
Simple Input and Output with VBA37
Collecting User Input with InputBox()37
Output with MsgBox()38
Manipulating Strings with VBA Functions39
Fun with Strings40
Constructing the Time of Your Life Program44
Project Statement44
Project Tools44
Project Algorithm44
Adding the Code45
Chapter Summary49
Chapter 3Procedures and Conditions51
Project: Poker Dice52
VBA Procedures52
Event Procedures52
Sub Procedures56
Function Procedures61
Logical Operators in VBA64
Conditionals and Branching67
Constructing the Poker Dice Program72
Project Statement73
Project Tools73
Project Algorithm75
Adding the Code76
Chapter Summary84
Chapter 4Loops and Arrays87
Project: The Math Game88
Looping with VBA88
Do Loops89
For Loops91
Input Validation94
Validation with the InputBox() Function95
Validation with a Spreadsheet Cell97
Arrays99
One-Dimensional Arrays101
Multi-Dimensional Arrays104
Dynamic Arrays106
Programming Formulas into Worksheet Cells109
A1 Style References109
R1C1 Style References111
Chapter Project: Math Game112
Project Statement112
Project Tools113
Project Algorithm119
Adding the Code122
Chapter Summary131
Chapter 5Basic Excel Objects133
Project: Battlecell134
VBA and OOP134
Objects Defined135
VBA Collection Objects137
The Object Browser139
Top-Level Excel Objects144
The Application Object145
The Workbook and Window Objects145
The Worksheet Object153
The Range Object154
Working with Objects157
Chapter Project: Battlecell161
Project Statement161
Project Tools162
Project Algorithm162
Adding the Code164
Chapter Summary184
Chapter 6Enhancing VBA Programs: Adding Multimedia and Intelligence187
Project: Enhanced Battlecell188
Adding Multimedia to a Program188
Animation in VBA188
Sound in VBA200
Simulating Intelligence in Programs203
Chapter Project: Enhanced Battlecell204
Project Statement204
Project Tools205
Project Algorithm205
Adding the Code208
Chapter Summary224
Chapter 7UserForms and Additional Controls227
Project: Blackjack228
UserForms228
Adding a UserForm to a Project229
Components of the UserForm Object229
Adding ActiveX Controls to a UserForm231
Showing and Hiding UserForms233
Modal Forms233
Custom Dialog Boxes with UserForms235
Chapter Project: Blackjack246
Project Statement247
Project Tools247
Project Algorithm247
Adding the Code250
Chapter Summary267
Chapter 8Data Access, File I/O, Error Handling, and Debugging269
Project: Word Find270
File Input and Output (I/O)270
Using VBA File I/O Methods271
Error Handling283
Using the On Error Statement283
Debugging287
Break Mode287
The Immediate Window289
The Watch Window290
The Locals Window291
Chapter Project: Word Find292
Project Statement292
Project Tools293
Project Algorithm293
Adding the Code296
Chapter Summary310
Chapter 9Excel Charts313
Project: The Alienated Game314
The Chart Object314
Accessing Existing Charts314
Manipulating Charts318
Creating Charts322
Chart Events326
Chapter Project: The Alienated Game332
Project Statement333
Project Tools333
Project Algorithm333
Adding the Code335
Chapter Summary355
Chapter 10VBA Shapes357
Project: Excetris358
The Shapes Collection and Shape Objects358
Manipulating a Shape Object360
The ShapeRange Collection Object362
Activating Shape Objects365
The OLEObjects Collection366
Chapter Project: Excetris368
Project Statement369
Project Tools369
Project Algorithm370
Adding the Code372
Chapter Summary395
A Final Word396
Index397

New interesting book: Managing Workplace Negativity or Heavens Door

Add in the WorkPlace: Choices, Changes, and Challenges

Author: Kathleen G Nadeau

It's one thing to deal with attention deficit disorder in the doctor's office, or at home-but quite another "out there," in the workplace. This unique guide focuses on adults living with ADD, and illustrates various ways to initiate and maintain the best possible work situation. Kathleen Nadeau brings her vast experience to bear on this central concern of adult life. The book is packed full of helpful advice and practical suggestions on everything from day-to-day problems to career issues that can affect a lifetime-and it emphasizes that people with ADD can be just as successful in their jobs and careers as anyone else.

ADD in the Workplace features a user-friendly large, open format with summaries at the beginning of each chapter-perfect for ADD adults. It offers an easy-to-follow progression from a general understanding of the situation to various specific issues, including ADD and social skills, job performance, and career choices for young adults with ADD. No ADD adult sho



No comments: