Is there a way to set the ‘Autofit Column widths on update’ property on a pivot table to false?
I would like to set the columns of a pivot table to a specific width and have them remain that width.
Hi,
Please use IsAutoFormat attribute of PivotTable to set to false.
//Disable auto-fit column widths on open
pivotTable.IsAutoFormat = false;
Thank you.