There are many ways that you can get data from Excel to
Access. By far, the easiest way is to cut and paste.
Let's say you have the following data in Excel that you
would like to get into Access.
Getting the data to Access is simple. In Excel, highlight
and copy all the cells with the data, including the two column
headers.
Open the Access database where you want to insert the Excel
data. In the navigation pane, click Tables and Related Views.
Right-click any place within the navigation pane and then
choose Paste. You will be greeted with the following prompt:
If your first row contains column headers as I suggested,
you will, of course, click yes. Otherwise, click no. Note
that, if you click no, your field names will be F1, F2, F3,
etc., which is not terribly helpful. Hence my advice to make
sure that you include the first row from Excel, which would
contain your column headers.
At that point, unless something unusual happens you'll get
the following message:
A new table will have been created at this point with the
same name as the tab from Excel that you copied the data from.
If you had not bothered to change the tab name in Excel, your
table name will be called Sheet1 or something on that order.
At this point simply open the newly created table and you will
see something like the following:
Note that, as expected, the column names carried over from
Excel.
Although there are many other ways you can get Excel data
into Access, this is hands-down the easiest. In future
Wizards, we will look into some of the alternative
methods, which are perhaps more challenging, but also bring
more power into the process.