Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Pulling Access Information into Excel.

Pulling Access Information into Excel

by Allen Wyatt
(last updated January 30, 2020)


Moss built an Access database of his customers, and he uses Excel for the invoicing. He wonders if there is a way to populate the customer information fields in the Excel invoice automatically from the Access database.

There are a few ways you can approach this task, and each method has plusses and minuses. A relatively simple approach is (obviously) to forego Excel altogether and simply do everything in Access. Simple invoices could be created using forms, and then your data doesn't need to travel between programs.

If you prefer to do the invoice in Excel, then you could create a link in Excel to a query in Access. You create a new query by following these general steps:

  1. Select cell A1 in a new worksheet. (Don't select a cell on your invoice.)
  2. Display the Data tab of the ribbon.
  3. Click the From Access tool, in the Get External Data group. Excel displays the Select Data Source dialog box. (This looks very much like a standard Open dialog box.)
  4. Use the controls in the dialog box to find and select the Access database that has your customer information.
  5. Click Open. Excel displays the Select Table dialog box, provided there is more than one table in the Access database you opened.
  6. Select the name of the table or query that contains your data.
  7. Click OK. Excel displays the Import Data dialog box.
  8. Use the controls in the dialog box to specify how and where the data should be imported.
  9. Click OK. Excel grabs the data you specified and places it in the worksheet.

With the Access data now in your worksheet, you can access the imported information, from your invoice, using formulas that utilize various lookup functions. The imported information is refreshed each time you open the workbook.

Another approach is to develop your own set of VBA macros to grab the information from the Access database. This is not a trivial task, as it involves knowing how to access, via VBA, objects in both Excel and Access. You'll also need to know how to put together SQL statements to extract only the data you want from the database. The upside of slogging through creating the macros is that they provide the most flexibility possible in grabbing data and manipulating it.

Creating the exact macros you need is beyond the scope of this simple tip. You can find more information by getting a few good VBA programming books (make sure you get one specifically for Access as one of the books). The websites available at the Access MVP site may also be helpful:

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11843) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Pulling Access Information into Excel.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...


Changing Color in WordArt

You can make your document flashier by using WordArt to punch it up. Here's how you can change the color of the text in ...

Discover More

Copying and Pasting Field Codes

Want to copy a field code and paste it in some other Windows program? This can be trickier than it sounds. Here's the ...

Discover More

Changing Time Settings

As you no doubt know, Windows has a built-in clock that is used for a variety of purposes. This tip covers the various ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Replacing Links with Values

Need to get rid of the links in your workbook but save the values that were retrieved by those links? It could be easy or ...

Discover More

Copying a Hyperlink to Lots of Worksheets

Copying information from one place to another in a worksheet is easy. Copying hyperlinks may not seem that easy, but you ...

Discover More

Removing Hyperlinks without a Macro, Take Two

Need to get rid of hyperlinks in a worksheet? Here's an easy way to do it without using a macro.

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 + 7?

2016-07-26 11:31:39


Jeff - what is Power Query?


2016-07-25 10:03:25

Dave S

If doing this infrequently, may be easier to import from Excel into Access using Access' External data functionality. Or, you can cut and paste data from Excel into an open Access table (making sure data types of source column and destination field correspond). Otherwise, the Excel vba route is an option, by which a link is made to a database using either DAO or ADO - an internet search will locate example code.

2016-07-25 09:34:12

Jeff Starr

You should be discussing Power Query as one of the options, if not the preferred one! It's powerful, fantastic and provides an ongoing link to the data!

2016-07-25 09:33:44

Henry Arthur

It is the same operation in reverse. In Access go to the 'External Data' tab and choose the 'Excel' option in the 'Import and Link' group. Follow the instructions from there.

Make sure your Excel worksheet data has row 1 as the headings you want for field names, or use named ranges which Access can find easily.

2016-07-25 02:26:03

Michael Williams

How can I export excel data to Access ?

This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.