Consulting

Results 1 to 3 of 3

Thread: Find/Replace With Indent and Paragraph Help

  1. #1
    VBAX Regular
    Joined
    Apr 2011
    Posts
    26
    Location

    Find/Replace With Indent and Paragraph Help

    Hello all,

    I was wondering if there is a find/replace code that will indent sentences/and or paragraphs to the left. In addition to that I would like to know if sentence or a line having 2 or 3 additional line of information can be wrap it up.

    For example, see attached document but I will show you just a couple of lines from it.

    The first sentences shows as follows:

    1.Then Job answered:
    2."Yes, I know that it is so,
    but how can a mortal be righteous before.....

    With some code, would it be possible to do the following:

    1.Then Job answered:
    2."Yes, I know that it is so, but how can a mortal be righteous before.....

    Not sure if this can be done with a whole document or just a selection. My document is a Bible containing over 2,000 pages.
    As always any help is appreciated.

    Cheers!
    Attached Files Attached Files

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    If you format you indent styles with the appropriate hanging indents, all you need is a wildcard Find/Replace with:
    Find = ^13([A-Za-z])
    Replace = ^l\1
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    VBAX Regular
    Joined
    Apr 2011
    Posts
    26
    Location
    Hi Macropod,

    Thank you for the code. Just got a question. Would it be possible to explain what you mean if I format my indent with the appropriate hanging indents? Do I need to highlight or select the whole document and then apply the appropriate or corresponding style? Not sure about this, and which way to go. I tried different things but I'm sure I did something wrong.

    Finally, thank you for your cooperation. Much appreciated.

Posting Permissions

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