Microsoft KB Archive/211912

= XL2000: Cannot Use Web Data Source as PivotTable Data =

Article ID: 211912

Article Last Modified on 10/8/2003

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q211912





SYMPTOMS
When you update a PivotTable, you may receive the following error message

Cannot open PivotTable source file ' '.

where is the name of the file that contains the source data.



CAUSE
This problem may occur if you create a PivotTable from data that is in a workbook that is stored on an Hypertext Transfer Protocol (HTTP) World Wide Web site.

NOTE: This problem also occurs if you use a Uniform Resource Locator (URL) in the Range box in step 2 of the PivotTable and PivotChart Wizard.



RESOLUTION
To create a PivotTable that is based on data in a file on a Web site, first save the file to your local hard disk, or to a network drive, and then create the PivotTable from the data in this saved file.



MORE INFORMATION
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:

 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

 * 1) In Microsoft Excel 2000, click Open on the File menu.
 * 2) 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

 * 1) With MySource.xls open in the Microsoft Excel window, create a new workbook.
 * 2) On the Data menu, click PivotTable and PivotChart Report.
 * 3) In the PivotTable and PivotChart Wizard - Step 1 of 3 dialog box, click Microsoft Excel list or database, click PivotTable, and then click Next.
 * 4) 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.


 * 1) 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.

<div class="references_section">