Pivot Table Issues

Fix Excel PivotTable Refresh Errors Caused by Print Area in WPS Spreadsheets

Maira MehtabMaira Mehtab Nov 13, 2026 869 views

Question details

The user needs to fix an Excel PivotTable refresh error that occurs after source data changes and refers to the hidden '.xlnm.Print.Area' name.

Fix Excel PivotTable Refresh Errors Caused by Print Area in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A user refreshes an Excel PivotTable after the underlying workbook data changes.
Observed behavior
Excel displays an error stating that it cannot obtain data from '.xlnm.Print.Area' when refreshing the PivotTable, and clearing the visible print area does not resolve it.
Before you start

Before changing anything, write down the rows, columns, and value fields used by the existing PivotTable and note the exact source data range. Open the affected workbook in WPS Spreadsheets so you can use the PivotTable and Name Manager tools directly.

Solution 1Recommended

Recreate the PivotTable in a New WPS Spreadsheets Workbook

Use this when clearing the print area does not remove the '.xlnm.Print.Area' error; rebuilding from source data avoids the corrupted hidden print area name.

The error usually points to a hidden Excel defined name rather than the visible print area. Copying only the source data into a new workbook leaves the damaged name behind.

1
Open the affected workbook in WPS Spreadsheets

Launch WPS Office, click Menu > Open, and select the Excel workbook that shows the PivotTable refresh error.

2
Copy only the source data

Select the PivotTable source data range, right-click and choose Copy, then create a new workbook or worksheet and paste the data.

3
Insert a new PivotTable

Select the pasted data, go to Insert > PivotTable, choose New Worksheet, and click OK.

4
Rebuild the PivotTable layout

Drag the same fields into Rows, Columns, and Values as they were arranged in the original PivotTable.

5
Set the print area after refreshing

Click the PivotTable, go to PivotTable Tools > Refresh, then select the report area and click Page Layout > Print Area > Set Print Area.

Recreate the PivotTable in a New WPS Spreadsheets Workbook
Clean workbook created: A clean workbook removes the hidden .xlnm.Print.Area reference that triggered the refresh error.
Fix in WPS Spreadsheets

Rebuild the PivotTable in WPS Spreadsheets to Fix the Print Area Refresh Error

Open the Excel workbook in WPS Spreadsheets, rebuild the PivotTable from the original data in a clean sheet, and set the print area again. This bypasses the hidden '.xlnm.Print.Area' reference that triggers Excel's refresh error.

  1. 1. Open your Excel workbook: Click Menu > Open in WPS Spreadsheets and select the affected .xlsx file.
  2. 2. Copy the source data: Select the source data range, click Home > Copy, create a new sheet, and paste the data.
  3. 3. Insert a new PivotTable: Go to Insert > PivotTable, select the pasted data range, and choose New Worksheet.
  4. 4. Rebuild the layout: Drag fields into Rows, Columns, and Values as they were arranged in the original PivotTable.
  5. 5. Set print area after refresh: Refresh the PivotTable, then click Page Layout > Print Area > Set Print Area.
Bypasses the hidden Excel .xlnm.Print.Area reference that breaks PivotTable refreshFull compatibility with Excel .xlsx workbooks and PivotTable layoutsFree, lightweight WPS Office suite with a familiar ribbon interfaceLets you rebuild, refresh, and save the workbook without buying Microsoft Office
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show "cannot obtain data from '.xlnm.Print.Area'" when refreshing a PivotTable?

Excel stores a hidden print area name that can become invalid or corrupted after data changes. A PivotTable refresh may then fail because Excel still tries to read that hidden range.

Can WPS Spreadsheets open and refresh this Excel PivotTable?

Yes. WPS Spreadsheets is compatible with .xlsx files and can open, rebuild, and refresh PivotTables. If the original PivotTable refreshes successfully in WPS, you can continue working there.

How do I set a print area in WPS Spreadsheets?

Select the desired range, go to Page Layout > Print Area, and click Set Print Area.

Will recreating the PivotTable remove my existing formatting and filters?

Yes. Recreating the layout resets formatting and filters. Rebuild the fields and apply formatting again in the new sheet or workbook.

Should I copy the data into a new workbook or just a new sheet?

A new workbook is safer if the original workbook has a corrupted hidden name. Copy the source data into a new workbook, recreate the PivotTable, and then set the print area again.