Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    syntax to obtain the line count (word97 sr2b)

    Hey there

    Is there syntax to obtain the line count?

    x = myRange.Paragraphs.Count

    as the text I have to obtain is within a table cell & wraps within the cell & therefore the text may not necessarily contain paragraph marks.

    many thanks
    Diana

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: syntax to obtain the line count (word97 sr2b)

    Diana,

    Is <!post=this post,205923>this post<!/post> and related thread any help?
    Also see very similar code in <!post=this earlier post,159680>this earlier post<!/post>.

    Gary

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: syntax to obtain the line count (word97 sr2b)

    Gary

    thats exactly what i was after
    Sub GetNumOfLines2()

    many thanks Diana

Posting Permissions

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