Start learning with our library of video tutorials taught by experts. Get started

Up and Running with VBA in Access
Illustration by Richard Downs

Up and Running with VBA in Access

with Curt Frye
Expand all | Collapse all
  1. 2m 23s
    1. Welcome
      58s
    2. What you should know before watching this course
      40s
    3. Using the exercise files
      45s
  2. 20m 32s
    1. Introducing Access Automation
      3m 45s
    2. Running macros
      2m 30s
    3. Working with data macros
      4m 15s
    4. Running a macro by clicking a command button
      6m 12s
    5. Managing macro security settings
      3m 50s
  3. 27m 54s
    1. Introducing object-oriented programming
      3m 11s
    2. Examining the Access Object Model
      4m 29s
    3. Working in the Visual Basic Editor
      2m 59s
    4. Creating, exporting, and deleting code modules
      6m 59s
    5. Creating a subroutine
      1m 41s
    6. Creating a function
      4m 12s
    7. Adding comments to your code
      3m 0s
    8. Running a VBA procedure
      1m 23s
  4. 19m 46s
    1. Managing errors in VBA code using On Error statements
      5m 18s
    2. Stepping through a subroutine or function
      3m 51s
    3. Setting breakpoints in your code
      2m 56s
    4. Verifying output using temporary message boxes
      4m 38s
    5. Watching a value in a routine
      3m 3s
  5. 43m 35s
    1. Introducing Access data types
      3m 23s
    2. Declaring variables and requiring declaration before use
      6m 21s
    3. Managing variable scope
      5m 5s
    4. Defining constants and static variables
      5m 23s
    5. Creating a calculation using mathematical operators
      5m 12s
    6. Displaying a calculated result in a message box
      7m 24s
    7. Defining an array
      6m 21s
    8. Defining and using an object variable
      4m 26s
  6. 28m 37s
    1. Repeating a task using a For...Next loop
      4m 15s
    2. Stepping through all items of a collection using a For...Each loop
      4m 42s
    3. Repeating a task using a Do...While loop
      4m 15s
    4. Repeating a task using a Do...Until loop
      3m 42s
    5. Performing a task when conditions are met using an If...Then statement
      6m 40s
    6. Selecting actions using a Case statement
      5m 3s
  7. 40m 0s
    1. Opening a form
      6m 18s
    2. Opening a report
      4m 45s
    3. Opening a table
      3m 30s
    4. Opening a query
      3m 24s
    5. Closing an object
      3m 59s
    6. Closing a database or quitting Access
      3m 52s
    7. Sounding beeps and displaying the hourglass cursor
      4m 6s
    8. Running a menu command
      2m 28s
    9. Printing the active database object
      3m 1s
    10. Displaying or hiding warnings
      4m 37s
  8. 48m 26s
    1. Displaying every row in a table (Recordset)
      3m 42s
    2. Adding a new record to a table
      3m 34s
    3. Editing values in an existing table row
      6m 23s
    4. Preserving data integrity using transactions
      4m 37s
    5. Displaying a table property using the TableDef object
      4m 14s
    6. Closing a Recordset
      3m 39s
    7. Deleting the current record
      4m 49s
    8. Finding records within a table
      8m 32s
    9. Moving within a Recordset
      5m 12s
    10. Counting the records in a Recordset
      3m 44s
  9. 16m 30s
    1. Summarizing values in a table field
      3m 22s
    2. Finding the first or last value in a table field
      2m 58s
    3. Looking up a value in a table field
      3m 31s
    4. Create a progress bar using the SysCmd object
      6m 39s
  10. 30m 7s
    1. Allowing or disallowing additions, deletions, and edits
      5m 9s
    2. Manipulating form filters
      6m 15s
    3. Setting the caption and background picture
      5m 25s
    4. Requerying and repainting forms
      4m 40s
    5. Discovering a record source
      3m 3s
    6. Setting the ScrollBars property
      2m 52s
    7. Rendering a form or reporting visible or invisible
      2m 43s
  11. 53s
    1. Additional resources and final thoughts
      53s

Video: Welcome

Hi! I am Curt Frye. Welcome to Up and Running with VBA in Access. In this course, I will show you how to automate Access databases using macros, to run a macro by clicking a Command button, and to manage macro security settings. I will introduce Visual Basic for Applications, also known as VBA, starting with an overview of object-oriented programming, the Access Object Model, and using the Visual Basic Editor.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Up and Running with VBA in Access
4h 38m Advanced Oct 06, 2011

Viewers: in countries Watching now:

Enhance productivity by automating routine tasks and providing custom functionality not built into Access with a few basics in VBA code. Author Curt Frye introduces object-oriented programming and provides database designers with a foundation in the Access object model and the Visual Basic for Applications (VBA) programming language. The course covers automating tasks with macros, working in the Visual Basic Editor, writing functions, adding logic, reading data, controlling forms, and more.

Topics include:
  • Working with macros and managing macro security settings
  • Creating, exporting, and deleting code modules
  • Running a VBA procedure
  • Debugging VBA code
  • Defining variables, constants, and calculations
  • Displaying a calculated result in a message box
  • Repeating tasks with loops
  • Creating conditional statements
  • Manipulating database objects, such as forms, tables, and queries
  • Adding, editing, and deleting records
  • Looking up values in a table
  • Requerying and repainting forms
Subjects:
Business Developer Databases Programming Languages
Software:
Access Visual Basic for Applications
Author:
Curt Frye

Welcome

Hi! I am Curt Frye. Welcome to Up and Running with VBA in Access. In this course, I will show you how to automate Access databases using macros, to run a macro by clicking a Command button, and to manage macro security settings. I will introduce Visual Basic for Applications, also known as VBA, starting with an overview of object-oriented programming, the Access Object Model, and using the Visual Basic Editor.

The course focuses on adding logic to your VBA code, manipulating database objects, and the controlling forms and reports using the Me object. Whether you use Access in a small business or from home projects, you will discover that VBA programming can make your databases much more useful. In short, I'm sure you'll find that your time with Up and Running with VBA in Access will be time well spent. Let's get going.

There are currently no FAQs about Up and Running with VBA in Access.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Up and Running with VBA in Access.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked