Results 1 to 8 of 8
  1. #1
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I was able to suppress page numbers from level 3 of my TOC by using the following formula: TOC \O "1-3" \H \Z \ N 3-3.

    However, when I tried to also supress level 1 page numbers by using the code TOC \O "1-3" \H \Z \ N 1-1\ N 3-3, it did not work. Can I supress level 1 and level 3 numbers while leaving level 2 numbers and if so, what is the formula?

    Regards,

    JMT

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,515
    Thanks
    3
    Thanked 143 Times in 136 Posts
    I don't see how you would do this whilst using the outline levels but you could try a little sleight of hand to confuse everyone.
    "TOC \t "Heading 2,1,Heading 1,2,Heading 3,3" \n "2-3"}
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #3
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That works, except that the TOC are no longer links. I have to manually navigate to the chapters. This is my code:

    TOC \T "HEADING 2,1,HEADING 1,2,HEADING 3,3" \N "2-3

    Is somethign wrong?

  5. #4
    WS Lounge VIP
    Join Date
    Mar 2006
    Location
    Maryland, USA
    Posts
    677
    Thanks
    17
    Thanked 57 Times in 50 Posts
    Add \h

    Pam
    Pam Caswell

  6. #5
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks! I wonder why your post didn't make it to my inbox though.

    Also, why are there dots on the top of the I's in the TOC 1 style, which is set to all caps? For example, "CHRISTIAN" comes out as "CHRİSTİAN".

  7. #6
    WS Lounge VIP
    Join Date
    Mar 2006
    Location
    Maryland, USA
    Posts
    677
    Thanks
    17
    Thanked 57 Times in 50 Posts
    If you copied "CHRİSTİAN" from your TOC, then I have to ask whether the dotted capital I's are showing up in the headings? If they are not, check to see that the language for the TOC styles and the language for the heading styles are the same.

    Pam
    Pam Caswell

  8. #7
    5 Star Lounger
    Join Date
    Aug 2006
    Posts
    784
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The TOC was set to Turkish! Thanks x 1,000,000!

  9. #8
    WS Lounge VIP
    Join Date
    Mar 2006
    Location
    Maryland, USA
    Posts
    677
    Thanks
    17
    Thanked 57 Times in 50 Posts
    I was going to suggest that because I saw lots of dotted cap I's during my recent vacation in Turkey. But I've learned in these forums to avoid speculation.
    Glad you got it worked out.

    Pam
    Pam Caswell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •