Free Support Forum - aspose.com

Hide column?

Is it possible to hide a column using Aspose.Excel? How would I go about doing it.

You can set the column width to 0 to hide it. For example,

cells.SetColumnWidth(1, 0); // hide column B


Hi,

I also want to hide colums but when I set the width to 0, my column is actually of width 0.42…
What should I do ?

Thanks,
Laurent.

Hi, Laurent.

What’s the version are you using? Please download fix 1.8.5 and have a try. If problem still exists, please post more of your code here. Thanks.