T
Trevor
Hi anybod
I am very frustrated. I am trying to left align my totals in a pivot table using OWC DOM.
Why does this code work (to left align the numbers
for (j = 0; j < l_oView.DataAxis.Totals.Count; j++)
l_oView.DataAxis.Totals(j).HAlignment = c_sPivotTableConstants.plHAlignLeft
and this one does nothing (to left align the captions
for (j = 0; j < l_oView.DataAxis.Totals.Count; j++)
l_oView.DataAxis.Totals(j).CaptionHAlignment = c_sPivotTableConstants.plHAlignLeft
I am very frustrated. I am trying to left align my totals in a pivot table using OWC DOM.
Why does this code work (to left align the numbers
for (j = 0; j < l_oView.DataAxis.Totals.Count; j++)
l_oView.DataAxis.Totals(j).HAlignment = c_sPivotTableConstants.plHAlignLeft
and this one does nothing (to left align the captions
for (j = 0; j < l_oView.DataAxis.Totals.Count; j++)
l_oView.DataAxis.Totals(j).CaptionHAlignment = c_sPivotTableConstants.plHAlignLeft