Specify whether the PivotTable is compatible for Excel2003 while refreshing PivotTable

How to Specify whether the PivotTable is compatible with Excel2003 while refreshing the PivotTable

The following sample code demonstrates the usage of the PivotTable.is_excel_2003_compatible property. The original string is 383 characters long. When the property is set true and the pivot table is refreshed, the data in cell B5 of the pivot table is truncated to 255 characters. However, when the property is set false and the pivot table 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.