Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pivot Table Page Breaks

Status
Not open for further replies.

APElliott

Technical User
Jul 9, 2002
165
GB
Hello,

Got a problem with page breaks on pivot tables.

I've set 1 of the data fields to insert a break where the data changes.

The trouble comes when I run a macro that changes what is shown in the field.

Some how it is remembering where some of the original page breaks were.

The only way I can think to overcome this problem is to write a code that fits the print area to 1 page and then have a code that inserts page breaks in the 'Page' data field where a cell contains the word Total.

Can anyone help me with this code?

Thanks

Andrew
 
Andrew,

You state, "The trouble comes when I run a macro that changes what is shown in the field."

What WAS and IS displayed in that field. Please explain what is happening more completely.


Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884

Skip,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top