transcript

excelisfun - Excel Magic Trick 1141: Link Access Table To Excel Data Source

Thumbnail of the video “excelisfun - Excel Magic Trick 1141: Link Access Table To Excel Data Source”
Download Markdown
Community upload. AI output has not been independently verified.

Welcome to Excel Magic Trick number 1,141. If you want to download this Excel file, which says "start," and the Access file, which says "Excel Magic 1141 Table Start," click on the link below the video. In this video, we want to do a quick demonstration of how to put data in Excel and have it automatically show up in a table over in Access. So here in Access, we want to get the data from Excel and link it, so that whenever we change it over in Excel, it will show up in Access.

Here is a little table. We have field names at the top. It is a simple example to show how to link a table from Excel into Access. I am going to name this sheet something smart, like "Customers." I will press Enter. Then I am going to create a table over here so that it will be dynamic as we expand it. I will use the keyboard shortcut Ctrl+T, but make sure your cursor is somewhere within one cell in the table. Ctrl+T. Wow, that dialog box showed up over here. I will press Enter.

Now I want to name the table. I could go to Table Design up here and click, or I can use the keyboard shortcut Alt+J+T+A. If you work with many Excel tables, that is a good one, because it immediately jumps up to the Properties group with the Table Name box. I am going to name this table "Customers." Press Enter.

All right, now I am going to close this file. Ctrl+S to save it, and we will come back later, add records, and see if it works. So I am going to close it over in Excel. Now we are going to come to the External Data tab. Oh, look at that: Import and Link. It is that easy. Excel. Boop. Inside of Access.

So I have to browse for the location. I found my location here, so I will double-click down here. I want to link to the data source and create a linked table in Access. Click OK. It asks us for worksheets, and notice that we named our sheet, which was smart. We could have used Sheet1, but that is not an instructive name. So I have that. Oh, it looks like we are going to have to tell it in the next step that our first row has column headers, or field names. Next, we can use the same name in Access for our linked table. Then click Finish.

I am going to click OK, and there it is. Notice it has a little icon with an arrow indicating it is linked to Excel. If I double-click, I can see my table, and I can do whatever I want here. I could use relationships to relate it to another table if I wanted. I am going to double-click on the other table here. Now I am going to close Access, and let's go over to the start file. I will open it up.

All right, so we are over here in Excel. I am going to click in the last cell and press Tab, and here is Mo. Tab. Mo@gmail.com. When I press Tab, it will add a new record. Hey, that one is linked; that one is not. That is okay. Over here, we are just keeping it. We are not using those links, so that will be fine. Jen is the next person. Jen@yahoo.com. Ctrl+Enter. So all I have done is add two new records. Ctrl+S, then Alt+F4 to close it.

Now let's open up our linked table over in Access. Double-click on our linked Excel table. And you have got to be kidding me. Look at that. Oops, it has our new records. So that is how to link externally from Access to an Excel workbook and have everything update here in Access. All right, we will see you in the next video.