Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Sep 2001
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Identifying the Paragraph Mark (Eng/Word/97-2000)

    Is there a way programatically to check if the next character is a paragraph mark?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Identifying the Paragraph Mark (Eng/Word/97-2000)

    If you are working with an insertion point, it could be:

    If Selection.Text = vbCr Then MsgBox "Paragraph mark dead ahead!"

    because Selection.Text in the context of an insertion point is the character immediately after the insertion point. If you have something more complicated going on, please post again.

  3. #3
    New Lounger
    Join Date
    Sep 2001
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Identifying the Paragraph Mark (Eng/Word/97-2000)

    Again - you have found the answer for me - my hat's off!

Posting Permissions

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