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

    Macro for missing terminal punctuation desired

    All you gurus out there!

    Does anybody have a macro that can find missing terminal punctuation?

    Thanks!

  2. #2
    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
    My first response is "did you look for it where you last had it?"

    Seriously, what you are asking for would seem to be beyond Word's capabilities, at least if what you want is something that will scan a document looking for places where there should be a full stop, a question mark, or perhaps a colon.

    The grammar checker will help, but it isn't a macro and I know of no way to load its results into vba.
    Charles Kyle Kenyon
    Madison, Wisconsin

  3. #3
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,191
    Thanks
    48
    Thanked 986 Times in 916 Posts
    I thought that was a human only ability and we are not very good at it.

    cheers, Paul

  4. #4
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,055
    Thanks
    2
    Thanked 417 Times in 346 Posts
    If you mean you want to find paragraph & line breaks that are not preceded by any of !,.:;?, a line break or another paragraph break, you could use a wildcard
    Find = [!\!\?\-,.:;^13^l][^13^l]
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  5. The Following User Says Thank You to macropod For This Useful Post:

    Charles Kenyon (2015-09-27)

  6. #5
    New Lounger
    Join Date
    Feb 2014
    Posts
    14
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi. If you are looking for macro tools that correct punctuation, you might want to look at the link below.

    There is a macro that adjusts the punctuation at the end of bulletted lists, it supports several styles including very formal ones that use a "; and" construct on the penultimate entry. I use a lot of bulletted lists for different clients, so this tool allows me to dump ideas down or rearrange then, and have the macro correct the punctuation.

    There is a macro to correct the punctuation in final paragraph in table entries. I also use a lot of tables, and tend to dump ideas into them quickly, often forgetting to place the final ".". The macro adds the final "." and also removes pesky blank lines at the end of selected table cells. Its part of a suite of tools for efficient management of table entries, including renumbering, bulk adding and removing blank rows, and apply sections.

    The punctuation tools are described here and the table formatting here

    Free download on the site - see the downloads tab

    Cheers
    Martin@DocProd

Tags for this Thread

Posting Permissions

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