When you open a Microsoft Excel document that is stored on
a World Wide Web site, you can either open the document in your Web browser or
in a separate window. If the document is opened in a separate window, use the
data in the workbook when you create a PivotTable in another
workbook.
Note After you close this source workbook, you cannot update the
PivotTable.
Use the following steps to create a PivotTable based on
data that is in a document on a Web site.
Step 1: Create a Workbook on the Web
- Save and close any open workbooks, and then create a new
workbook.
- Type the following data in Sheet1:
A1: Name | B1:
Amount |
---|
A2: Bob | B2:
1 |
A3: Sue | B3:
2 |
A4: Sue | B4:
3 |
A5: Tom | B5:
4 |
- Save the workbook as MySource.xls
and move it to your Web site on an HTTP server.
- Close MySource.xls.
Step 2: Open the workbook in a Microsoft Excel Window
- In Microsoft Excel 2000, click Open on the
File menu.
- In the File name box, type the web address
of your server and the file name you wish to open, for example:
http://myserver/MySource.xls.
Step 3: Create the PivotTable
- With MySource.xls open in the Microsoft Excel window,
create a new workbook.
- On the Data menu, click PivotTable and PivotChart
Report.
- In the PivotTable and PivotChart Wizard - Step 1 of
3 dialog box, click Microsoft Excel list or database,
click PivotTable, and then click Next.
- In the PivotTable and PivotChart Wizard - Step 2 of
3 dialog box, type [MySource.xls]sheet1!A1:B5,
and then click Finish. A PivotTable is created in Sheet1 of the new
workbook.
- Drag Name from the PivotTable toolbar to the Row Field drop area. Drag Amount
from the PivotTable toolbar to the Data Field drop area.
To duplicate the problem, close MySource.xls, and attempt to
update the PivotTable: the error message will appear.