Results 1 to 5 of 5
  1. #1
    Lounger
    Join Date
    Apr 2005
    Location
    Silver Spring, Maryland, USA
    Posts
    36
    Thanks
    0
    Thanked 1 Time in 1 Post

    Word breaks table rows on hard line breaks (Word 2003)

    Good morning.

    I've got a document where I need to convert many text chunks into tables. These text chunks are irregular in format. In particular, the chunk of text that should turn into a description cell sometimes includes hard line breaks. I want to break columns on the colon character and rows on new paragraphs.

    I am working on a macro to handle this, but am a bit stymied because when I tell Word to break table lines on paragraphs and columns on the colon character, it breaks on the hard returns as well as on soft paragraph marks.

    Does anybody know how to avoid this, short of doing a temporary find and replace on the hard returns?

    Thanks,

    Jessica

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

    Re: Word breaks table rows on hard line breaks (Word 2003)

    I'm confused by your description. Do you want to start a new table row on a paragraph break (Enter) but not on a manual line break (Shift+Enter), or the other way round, or neither, or ...?

  3. #3
    Lounger
    Join Date
    Apr 2005
    Location
    Silver Spring, Maryland, USA
    Posts
    36
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Word breaks table rows on hard line breaks (Word 2003)

    Sorry to be so confusing. I want to start a new row on the paragraph break (Enter, I guess - shows as a pilcrow) but NOT on the manual line break (shift-enter).

    For the moment I am doing a text replace of all instances of SHIFT-ENTER to some unusual text, then doing the table conversion, then replacing the replacement text with the manual line break character.

    Thanks,

    Jessica

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

    Re: Word breaks table rows on hard line breaks (Word 2003)

    That's the way I would do it too - I usually replace with something like "@@@@" or similar.

    I don't think there is a way to tell Word directly to ignore manual line breaks in Table | Convert | Text to Table.

  5. #5
    Lounger
    Join Date
    Apr 2005
    Location
    Silver Spring, Maryland, USA
    Posts
    36
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Word breaks table rows on hard line breaks (Word 2003)

    Thanks for confirming. I replace with "HardReturnXXX" in case I'm doing more than one replacement activity in a single document massaging session.

Posting Permissions

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