Pivottable Format doesn't seem to work

I am trying to format the column labels with pt.Format(row,col, style) with some thing like this:

For col As Integer = startCol To pt.TableRange1.EndColumn
pt.Format(startRow, col, Style)
Next

No formatting is showing up. I am trying to style to column with color changes and font sizes.

Hi,

Please attach your template file and output file here. Also give us complete sample runnable code here. We will check your issue soon.

We also recommend you to try our latest version first:
http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry335485.aspx

Thank you.