Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.


How To Create Macros In Access 2010

Creating macros provides you with in-depth training on Business. Taught by Alicia Katz Pollock as pa… Show More

Access 2010 Essential Training

with Alicia Katz Pollock

Video: How To Create Macros In Access 2010

Creating macros provides you with in-depth training on Business. Taught by Alicia Katz Pollock as part of the Access 2010 Essential Training
Expand all | Collapse all
  1. 1m 25s
    1. Welcome
    2. Using the exercise files
  2. 19m 8s
    1. Database concepts and terminology
      5m 35s
    2. Starting Access
    3. Creating a new file
      1m 10s
    4. Trusting a file
    5. The Quick Access toolbar
      1m 8s
    6. Backstage view
      2m 45s
    7. Exploring ribbons
      2m 59s
    8. Using the Navigation pane
      2m 11s
    9. Getting help
      1m 29s
  3. 23m 33s
    1. Planning and designing your database
      1m 33s
    2. Creating tables using Application Parts
      6m 48s
    3. Creating tables in Layout view with Quick Start
      3m 59s
    4. Creating and editing tables in Design view
      2m 41s
    5. Setting a primary key
      1m 20s
    6. Creating a lookup field
      3m 59s
    7. Creating multi-value fields
      2m 19s
    8. Using calculated fields
  4. 13m 5s
    1. Setting field properties
      7m 34s
    2. Setting input masks
      2m 3s
    3. Setting validation rules
      3m 28s
  5. 5m 20s
    1. Creating relationships and enforcing referential integrity
      4m 32s
    2. Viewing subdatasheets
  6. 19m 52s
    1. Entering data into your tables
      9m 44s
    2. Formatting tables
      4m 2s
    3. Finding, sorting, and filtering records
      6m 6s
  7. 29m 57s
    1. Creating data-entry forms
      2m 31s
    2. Using the Form Wizard
      1m 38s
    3. Modifying a form in Layout view
      7m 1s
    4. Using Design view
      12m 41s
    5. Setting tab stops
      1m 26s
    6. Adding buttons to a form
      1m 49s
    7. Using navigation forms
      2m 51s
  8. 26m 42s
    1. Introduction to queries
      1m 9s
    2. Using the Query Wizard
      1m 45s
    3. Creating a query in Design view with criteria
      4m 18s
    4. Creating wildcard queries
      1m 24s
    5. Creating reusable parameter queries
      1m 29s
    6. Creating yes/no queries
      1m 12s
    7. Creating "and" and "or" queries
      3m 7s
    8. Building calculation queries
      2m 44s
    9. Creating statistical queries
      3m 1s
    10. Using update queries
      2m 56s
    11. Using delete queries
      1m 31s
    12. Creating crosstab queries
      2m 6s
  9. 26m 43s
    1. Introduction to reports
      1m 28s
    2. Using the Report Wizard
      2m 0s
    3. Formatting reports in Layout view
      5m 16s
    4. Identifying report structure in Design view
      2m 30s
    5. Adding group and sort capabilities to a report
      2m 43s
    6. Adding existing fields from other tables
      1m 59s
    7. Adding totals and subtotals to a report
      2m 58s
    8. Adding conditional formatting and data bars to a report
      2m 38s
    9. Creating multi-table reports
      1m 46s
    10. Creating mailing labels
      2m 16s
    11. Printing reports
      1m 9s
  10. 4m 32s
    1. PivotTables
      2m 29s
    2. PivotCharts
      2m 3s
  11. 7m 35s
    1. Creating macros
      2m 53s
    2. Attaching macros to objects
      2m 26s
    3. Using data macros
      2m 16s
  12. 17m 10s
    1. Importing Excel and text data
      3m 39s
    2. Exporting data into Excel
      1m 0s
    3. Exporting to PDF
    4. Exporting into a Word Mail Merge
      1m 3s
    5. Publishing to a web browser in HTML or XML
      1m 51s
    6. Sharing via email
    7. Collecting data over email
      2m 42s
    8. Using Package and Sign
      1m 14s
    9. Publishing to SharePoint
      2m 59s
    10. Importing and exporting with SharePoint
  13. 6m 41s
    1. Compacting and repairing a database
    2. Using data analysis tools
      1m 4s
    3. Encrypting a database and setting a password
      2m 22s
    4. Splitting a database
      2m 27s
  14. 8m 19s
    1. Customizing the ribbons
      1m 16s
    2. Setting Access options
      7m 3s
  15. 14s
    1. Goodbye

please wait ...
Creating macros
Video duration: 2m 53s 3h 30m Beginner


Creating macros provides you with in-depth training on Business. Taught by Alicia Katz Pollock as part of the Access 2010 Essential Training

Creating macros

Macros are series of actions that can be triggered by data entered, or buttons on forms. They're incredibly useful for automating your database. Macros are very complex, and an entire course could be written just on this topic. In this lesson, I'll introduce you to the Macro Designer, and we'll create one basic action. We'll create a Macro that will open an order form and move to the Customer field within it. To create a Macro, click on the Create button and then click on Macro, on the far right. The Macro Designer window opens. There's one Action field to get you started, and here's a button to toggle on and off the Action Catalog, which lists all the available macros.

If you click on Show All Actions, you'll see additional Macros here beyond the basic set. We want the command OpenForm. Instead of searching around to find it, I can click in Search right here and type Open, and it will bring up all the Macros that use open in the title. We want OpenForm. I can either drag it into my Macro or double-click on it. The Macro appears with all the parameters and arguments it needs to run. The form I want to open is the Orders Subform.

Use this dropdown to find it. The view that we want is form. We are not going to add in any filters or conditions. The Data mode allows you to choose whether it's going to open up in Add - which will start with the blank record, Edit - which will show you all the records so that you can change them, or Read Only - so you can view the data but not make any changes to it. We want Add, and then our Window mode will be Normal. Now, run the Macro and see what it does.

Come up here to the exclamation point. When it asks you to save, say Yes. And we're going to call it, in all lowercase letters, neworder, and then click OK. So now we have an open orderform, but it would be handy to have it skip down to the Customer field, since the Order field will Auto Fill, and the Date will usually be correct. So let's right-click and close this form and go back to our Macro, and in the dropdown under the first step, let's create a second step.

Click on it, scroll down and choose GoToControl. Remember from the Forms lesson that a control is a field on the form. Enter in a square bracket, and type "Customer," the field on the form. Save the Macro again. Go back to the Design Tab and run it. And it opens up the orderform and jump straight down to the Customer field. In the next lesson, we'll see how to activate that Macro in the database.

Macros are a complex but powerful way of forcing Access to do your bidding, allowing you to program desired actions for a variety of triggers.

Find answers to the most frequently asked questions about Access 2010 Essential Training .

Expand all | Collapse all
please wait ...
Q: It seems there are movies missing in the course which should explain how to enter products in the Order table. How do I do this?
A: The lessons in this course are only somewhat cumulative. The database is built throughout the title before getting to the relationships and referential integrity, but not every step is shown. This is one of those courses where using the exercise files is recommended. The course would be very long and repetitive if I demonstrated the same technique over and over for every step in building a database.

Take a look at these videos instead.
Chapter 2: Planning and designing your database (concept)
Chapter 2: Creating and editing tables in design view (building the order table)
Chapter 2: Creating a lookup field. (This one uses Customer lookup as the example, but I believe this technique answers your actual question. You would use the same procedure to add the field that calls up the list of products.)
Q: In the Chapter 6 video "Using Design view," we work with the Combo Box Wizard. When I click on the Combo Box then click the
 location on the form, it does not start the Combo Wizard. Please advise.
A: Click on the Data tab and make sure one of the tables or queries appears selected in the Control Source. The form needs to be bound to a table or query before you make the combo box.

Also, Access is extremely finicky. When you're looking at the Properties window, be sure to click in the little box in the upper left corner of the form, between the vertical and horizontal rulers—as noted in the screenshot—before creating the combo box.

Q: It seems there are steps missing in the course. The file I built myself by following along doesn't match what's on screen. Why not?
A: The lessons in this course are only somewhat cumulative. Each movie is a standalone explanation of a technique or feature. The database is built throughout the course, but not every step between the lessons are shown. The course would be overly long if the author repeated every step in building a realistic, functioning database. However, the missing steps are variations on the techniques you've already learned. Also, this is one of those courses where using the exercise files is recommended.





Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

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.

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.

Join now Already a member? Log in

* Estimated file size

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


You have completed Access 2010 Essential Training.

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


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

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

Get started

Already a member?

Log in

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:

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.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about 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

Sign up and receive emails about and our online training library:

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

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.