Posted 27 September 2018, 7:23 pm EST
Hi.
Of the more than 300 columns, it takes more than 30 seconds to delete hidden columns.
Is there a way to do it fast?
I am using the Spread 10 version.
for (int i = newSheet.ColumnCount - 1; i >= 0; i–)
{
if (newSheet.Columns[i].Visible == false)
{
newSheet.Columns[i].Remove();
}
}
Thanks.