Skip to main content

Access 2007 VBA Programming For Dummies

Access 2007 VBA Programming For Dummies

Joseph C. Stockman, Alan Simpson

ISBN: 978-1-118-05075-0

Feb 2011

408 pages

$19.99

Description

If you’ve been using Access for a while, you’re probably aware of its power and potential and itching to take advantage of both. Access 2007 VBA Programming For Dummies takes you beyond forms and reports and shows you how to use VBA to create killer Access databases and applications. This gentle introduction to VBA programming covers everything you need to get started, including:
  • Basic programming skills and concepts
  • Explanations of modules, procedures, objects, and arguments
  • Access-unique programming activities, including SQL and recordsets
  • How to use the Visual Basic editor
  • Creating dialog boxes, lists, drop-down menus, and functions
  • Integrating with other Office applications
  • Ready-to-use VBA code examples to type in or copy and paste from the Web

Completely revised to reflect all changes found in Microsoft Access 2007, Access 2007 VBA Programming For Dummies gives you access to Access like you’ve never had it before.

Introduction 1

Part I: Introducing VBA Programming 7

Chapter 1: Where VBA Fits In 9

Chapter 2: Your VBA Toolkit 21

Chapter 3: Jumpstart: Creating a Simple VBA Program 35

Part II: VBA Tools and Techniques 49

Chapter 4: Understanding Your VBA Building Blocks 51

Chapter 5: Controlling Access through VBA 71

Chapter 6: Programming Access Forms 87

Part III: VBA, Recordsets, and SQL 115

Chapter 7: The Scoop on SQL and Recordsets 117

Chapter 8: Putting Recordsets to Work 147

Part IV: Applying VBA in the Real World 173

Chapter 9: Creating Your Own Dialog Boxes 175

Chapter 10: Customizing Combo Boxes and List Boxes 201

Chapter 11: Creating Your Own Functions 239

Chapter 12: Testing and Debugging Your Code 265

Part V: Reaching Out with VBA 293

Chapter 13: Using VBA with Multiple Databases 295

Chapter 14: Integrating with Other Office Applications 315

Part VI: The Part of Tens 349

Chapter 15: Ten Commandments of Writing VBA 351

Chapter 16: Top Ten Nerdy VBA Tricks 357

Index 367

Chapter 6 Source Code

Here you can download all the source code from this book. The files are organized by chapter. Please note that these samples are saved in a ZIP format archive. You can download the individual chapter or if you have a high speed internet connection, we have included all of the chapter files in one download file. To access them, you'll may need to install a program capable of reading ZIP format archives, such as WinZip or WinRAR.

Download
Chapter 7 Source Code
Download
Chapter 8 Source Code
Download
Chapter 9 Source Code
Download
Chapter 10 Source Code
Download
Chapter 11 Source Code
Download
Chapter 12 Source Code
Download
Chapter 13 Source Code
Download
Chapter 14 Source Code
Download
Combined Chapters Source Code
Download
Spin Buttons
Download
Other Files
Download