Hi Steve, I'm not sure exactly. But I was importing a Word document and had used the Bana template to start the TOC page with the centered heading and left and right aligned headings. I was then simply inserting the generated TOC below that and deleteing the duplicate lines. Perhaps there were competing codes there, because once I got rid of that and started with a blank page, it worked well. So, not sure what was wrong. Jean but ----- Original Message ----- From: Steve Dresser To: duxuser@xxxxxxxxxxxxx Sent: Monday, October 31, 2011 3:33 PM Subject: [duxuser] Re: TOC generator Excellent. I'm curious; what was the problem? Steve ----- Original Message ----- From: Jean Menzies To: duxuser@xxxxxxxxxxxxx Sent: Monday, October 31, 2011 14:00 Subject: [duxuser] Re: TOC generator Thanks, Steve, I got it sorted out. Jean __________ Information from ESET NOD32 Antivirus, version of virus signature database 6590 (20111031) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 6592 (20111101) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com