[ Team LiB ] Previous Section Next Section

Exporting to an Excel Spreadsheet

You might want to export table data or query results to an Excel spreadsheet so that you can utilize Excel's analytical features. You can accomplish this in many ways. You can export an object by right-clicking it, by using drag and drop, or by using OfficeLinks.

Exporting to an Excel Spreadsheet

To export table data or query results to an Excel spreadsheet, follow these steps:

  1. Right-click the object you want to export and select Export from the context menu. The Export dialog box appears.

  2. From the Save As Type drop-down, select the appropriate version of Microsoft Excel.

  3. Click Export.

Exporting to an Excel Spreadsheet Using Drag and Drop

You can export a table or query to Microsoft Excel by dragging and dropping it directly onto an Excel spreadsheet. This whizbang technology makes the integration between these two powerful products virtually seamless. Here are the steps involved:

  1. Arrange the Access and Excel application windows so that both are visible.

  2. Drag the object (that is, the table or query) from the Access Database window onto the Excel spreadsheet. The results of dragging and dropping the Customers table from the Access Database window to Microsoft Excel appear in Figure 18.2.

    Figure 18.2. Dragging and dropping an object directly from the Access Database window onto an Excel spreadsheet.

    graphics/18fig02.jpg

Exporting to an Excel Spreadsheet by Using OfficeLinks

You can use the OfficeLinks feature to export an Access table or query to Microsoft Excel. The process works like this:

  1. Select the object you want to export.

  2. Click the drop-down arrow in the OfficeLinks button.

  3. Choose Analyze It with Microsoft Excel to export the data to Excel (see Figure 18.3).

    Figure 18.3. Selecting Analyze It with Microsoft Excel from the OfficeLinks button.

    graphics/18fig03.jpg

graphics/book_icon.gif

It's important to note the following facts concerning the process of exporting by using OfficeLinks:

  • The face of the OfficeLinks button changes, depending on the most recent choice.

  • You can open the exported object within Excel.

  • If you export a query to Excel, Access runs the query and exports the results of the query to the Excel spreadsheet.


    [ Team LiB ] Previous Section Next Section