Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    May 2015
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How to remove Leader Dots

    Hi,

    Does anyone know how to remove the leader dots that are in highlights in the attached? This TOC was generated by a macro, when you run the macro in a blank doc, the dots are not there, when I run it on this document, the dots are there. Is this a setting?
    Attached Images Attached Images

  2. #2
    WS Lounge VIP mrjimphelps's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    3,405
    Thanks
    447
    Thanked 404 Times in 376 Posts
    Just curious, have you looked at the macro to see if there might be a clue there?

  3. #3
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,436
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Dvenice,

    Yes, it is a setting of the TOC definition. Could you post the macro so we can have a look. Of course you won't get leader dots in a blank document as it will not generate any TOC entries.

    HTH
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  4. #4
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts
    If this is a TOC field, likely those are set by either direct formatting in the original or by the TOC styles in the document where the macro is being run.

    Why are you using a macro to insert a TOC?

    You could use, instead, AutoText if the regular settings are not to your liking.

    http://www.shaunakelly.com/word/numb...fcontents.html
    Automated Boilerplate Using Microsoft Word - AutoCorrect/AutoText
    Complex Documents - Inserting a Table of Contents
    Charles Kyle Kenyon
    Madison, Wisconsin

Posting Permissions

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