Specify whether the PivotTable is compatible with Excel 2003 while refreshing the PivotTable

Specify whether the PivotTable is compatible with Excel 2003 while refreshing the PivotTable

The following sample code explains the usage of the PivotTable.setIsExcel2003Compatible property. The original string is 383 characters long. However, when the property is set true and the PivotTable is refreshed, the data in cell B5 is truncated to 255 characters. When the property is set false and the PivotTable is refreshed again, the data in cell B5 is not truncated and remains 383 characters long. Please read the comments inside the code for a better understanding of this property.