Hi everybody. I am trying to write VBA to insert Page Breaks after every Pivot Table item in column A. The Field Settings are not working for some reason and page breaks end up all over the place. I have the code below to insert a page break every time the cell value changes but I don't want to fill the item in every cell, want to have the titles distributed like they are in the screenshot (which is an excerpt from a very long table).
I also don't want the code to start until row 4 when the items begin. If anyone could help me that'd be great! I've been researching stuff to solve this problem for a while but can't seem to be able to put the right pieces together (I'm very new at VBA)
ExcelHelp (2).PNGPlease Login or Register to view this content.
Bookmarks