Request help determining line length and end of line carriage returnsthrough document

Discussion in 'Word VBA' started by robert.kolbasowski@gmail.com, Apr 2, 2014.

  1. Guest

    I'm trying to create a macro that will go through a document, line by line,and highlight any line that either exceeds 69 characters or does not contain a carriage return at the end. Needless to say, all attempts thus far have been flawed. How is it possible to put each line of the document into astring so I can look at string length and then if it end with a return?

    Any help is greatly appreciated!
    -Bob
     
    , Apr 2, 2014
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. T.L.
    Replies:
    1
    Views:
    146
    Larry
    Jul 19, 2003
  2. George Lee

    Determining Text Line Height

    George Lee, Jun 15, 2005, in forum: Word VBA
    Replies:
    3
    Views:
    164
    Cindy M -WordMVP-
    Jun 18, 2005
  3. Mike
    Replies:
    3
    Views:
    207
    Scott Holmes via OfficeKB.com
    Oct 13, 2005
  4. Larry
    Replies:
    7
    Views:
    203
    Larry
    Jan 6, 2006
  5. andreas
    Replies:
    1
    Views:
    141
    Helmut Weber
    Feb 22, 2007
  6. livetohike

    Determining length of line

    livetohike, Sep 6, 2007, in forum: Word VBA
    Replies:
    3
    Views:
    168
    Helmut Weber
    Sep 8, 2007
  7. EllenM
    Replies:
    3
    Views:
    182
    EllenM
    Oct 1, 2007
  8. dhstein
    Replies:
    3
    Views:
    173
    dhstein
    Oct 22, 2009
Loading...