[ LiB ] |
You can import data from Excel into Access by placing the new data in a new Access table or by appending it to an existing Access table.
Whether you want to place the new data in a new table or append it to an existing table, the procedure begins the same.
If your Excel worksheet has multiple worksheets, you can only import one sheet at a time.
If you want to import the data into a new Access table, see the following section, "Importing Excel Data as a New Table."
If you want to append the data into an existing Access table, see "Appending Excel Data to an Existing Table," later in this chapter.
If you want to import the Excel data into a new Access table, Access will automatically create a field for each column of worksheet data.
The Import Spreadsheet Wizard will now attempt to identify the data you want to import. The first column of data will be highlighted. Access will create fields based on each column.
Now you must determine which field you want as the primary key field. The primary key field is a unique field in a table that differentiates one record from another.
If your Excel data fields match up exactly with the fields in an existing Access table, you can add (append) the Excel rows into the Access table as new records. The important thing to remember is that the field names and their order must match exactly .
[ LiB ] |