Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The Data Table

Example: Saving Data to an Excel Spreadsheet

In this example, you save data to an Excel spreadsheet.

Open a SAS Data Set

To open a SAS data set named Exposed, follow these steps:

  1. Select Tools arrow Sample Data ...
  2. Select Exposed.
  3. Click OK to create the sample data set in your Sasuser directory.
  4. Select File arrow Open By SAS Name ...
  5. Select Sasuser from the list of Libraries.
  6. Select Exposed from the list of members.
  7. Click OK to bring the Exposed data set into the data table.

    c0242.gif (7511 bytes)

    Figure 2.42: Open Exposed Data Set

Save Data as Excel Spreadsheet

To save your data table as an Excel 97 spreadsheet, follow these steps:

  1. Select File arrow Save As ...
  2. Click on the arrow next to Save as type: and select Excel 97 Spreadsheet from the list.

    c0243.gif (5780 bytes)

    Figure 2.43: Saving as Excel 97 Spreadsheet

  3. Click Save. Your data are saved to a Microsoft Excel 97 spreadsheet named Exposed.xls.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.