Thanks, Guessed. I've added the TOC to the TOC gallery in the template, which will work fine. I was just curious about why this code doesn't behave the way it should, but I can let that go.
FYI, we found earlier that when a TOC in inserted from the Quick Parts gallery, it tends to add a *lot* of white space at the bottom of the TOC. Adding it to the TOC gallery instead avoids this problem.
Thanks again! I appreciate your input.
|