Excel is a good intermediate format to use when importing information that isn't set up to import directly into Access. For example, if you want to add or remove fields, combine or split fields, or use complex mathematical functions to manipulate data before importing it into Access, Excel is a great place to do it.
USE the 02_ImportExcel database and the 02_Customers workbook. These practice files are located in the Chapter03 subfolder under SBS_Access2007.
OPEN the 02_ImportExcel database.
1. | On the External Data tab, in the Import group, click the Excel button.

The Get External Data wizard starts.
|
2. | On the Select the source and destination of the data page, click Browse.
|
3. | In the File Open dialog box, navigate to your Documents\MSP\SBS_Access2007\Chapter03 folder, click the 02_Customers workbook, and then click Open.
|
4. | On the Select the source and destination of the data page, select the Append a copy of the records to the table option, click Customers in the list, and then click OK.
The Import Spreadsheet wizard starts.
Important
When importing information into an existing table, all the field names and data types must match exactly; otherwise, Access can't import the file and displays an error. If the structure matches but data in a field is too large or has some other minor problem, Access might import the record containing the field into an ImportError table, rather than into the intended table. You can fix the problem in the ImportError table, and then copy and paste the record into the correct table.
On the first page of the wizard, you can browse the contents of any worksheets or named ranges in the selected worksheet. Sample data from the selected worksheet or named range appears at the bottom of the page.
|
5. | With Customers selected in the Show Worksheets list, click Next.
|
6. | Select the First Row Contains Column Headings check box if it is not already selected.
|
7. | Click Next, and then click Finish.
Access imports the worksheet into the Customers table.
|
8. | On the Save Import Steps page, click Close.
|
9. | Open the Customers table to confirm that Access imported the customer list.
|