Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Mar 2003
    Posts
    191
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Replace leading spaces (2002)

    Hi All,
    I have a problem with a large document that the information has been imported into Word from another program. This has left some lines of this document with leading spaces at the start of each line, rendering the text alignment as being out of whack. The document is 98 pages long so I don't really feel like going through each page removing these spaces individually.
    Is there a way I can remove these leading spaces without having to do them line by line?
    Thanks.

    Bill

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Replace leading spaces (2002)

    Select Edit | Replace...
    Enter <code>^p</code> followed by a space in the 'Find what' box.
    Enter <code>^p</code> in the 'Replace with' box.
    Click 'Replace All'.

    Note: if there may be multiple leading spaces, you can enter <code>^p^w</code> in the 'Find what' box instead.

  3. #3
    2 Star Lounger
    Join Date
    Mar 2003
    Posts
    191
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Replace leading spaces (2002)

    Hans - That worked perfectly. Thanks.

    By the way, I looked everywhere in Word Help to try and find the answer to my problem, but couldn't. Is your solution documented anywhere in Word Help that I missed?
    Thanks again.

    Bill

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Replace leading spaces (2002)

    The help subject 'Find and replace text or other items' has two 'subitems' about finding and replacing with codes.

    See <!post=Find/Replace Special Characters (Word),421558>Find/Replace Special Characters (Word)<!/post> for a comprehensive overview of codes that can be used in Find/Replace.

Posting Permissions

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