I am trying to format parts of a pivot table, but the two lines listed at the bottom keep switching the formatting back to default, which I do not want. I am hoping someone knows of a switch I can throw to put things back.
This is a code snippet of the area with the problem. The whole code segment is huge (over two hundred pages printed out) and works fine.
at .ColumnGrand = True it removes all the formatting performed by the previous two subroutine calls. It does the same for .RowGrand, but I expect the problems are related.![]()
Please Login or Register to view this content.
These are the subroutines called from above.
I know it's not clean, but it is still a work in progress at this point.![]()
Please Login or Register to view this content.
EDIT: And before anyone asks why I don't just move the offending lines to before the formatting, because every time it re-sorts the table, it also removed the formatting, so these two lines need to be fixed.
Bookmarks