R
rusty cranbrook
I don't really understand the AutoFit property. I've found that
pt.ActiveView.FieldSets(3).Fields(0).DetailAutoFit = True
will make the columns autofit on a pivot table that has a filter
field, a row field, a column field, and a detail field. I'm not sure
why the index value of 3 works - how is the index populated? I mean
how do I know what index value to hit?
Also, when I set the TitleBar.Caption value, the columns AutoFit. Why
is this?
pt.ActiveView.TitleBar.Caption = "Sigh..."
pt.ActiveView.FieldSets(3).Fields(0).DetailAutoFit = True
will make the columns autofit on a pivot table that has a filter
field, a row field, a column field, and a detail field. I'm not sure
why the index value of 3 works - how is the index populated? I mean
how do I know what index value to hit?
Also, when I set the TitleBar.Caption value, the columns AutoFit. Why
is this?
pt.ActiveView.TitleBar.Caption = "Sigh..."