+ Reply to Thread
Results 1 to 2 of 2

Need VBA Macro To Remove Paragraph Marks In Part Of A MS Word Doc

  1. #1
    Registered User
    Join Date
    07-17-2019
    Location
    Amherst, NY
    MS-Off Ver
    2016
    Posts
    5

    Need VBA Macro To Remove Paragraph Marks In Part Of A MS Word Doc

    The Excel side of this site has been a great resource over the years. Now I have a problem for the MS Word VBA/Macro gurus.

    I have an MS Word document, that is created daily by legacy software, that adds hard returns - represented in MS Word with the "^P" combination.

    I need a VBA macro that will remove the hard returns ONLY in the "Description" section of the document.

    I've attached a sample portion of the document as an image, showing the MS Word formatting. The actual document contains additional information, and can be hundreds of pages long, but the section that needs cleaning up is always the section between "Description" and "Additional Information"

    Can anyone help?
    Attached Images Attached Images
    Last edited by DIHayman; 03-01-2023 at 10:51 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Need VBA Macro To Remove Paragraph Marks In Part Of A MS Word Doc

    Please Login or Register  to view this content.
    Last edited by protonLeah; 03-01-2023 at 09:03 PM.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Word Macro to Remove Paragraph Breaks/Carriage Returns before copying tables to Excel
    By real_melo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2020, 03:20 PM
  2. [SOLVED] Remove Paragraph from Email Macro
    By Rolly_Sefu in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-09-2019, 04:35 AM
  3. Replies: 4
    Last Post: 07-14-2016, 08:47 PM
  4. [SOLVED] Copying text with paragraph marks into single Excel cell
    By Peter Wells in forum Excel General
    Replies: 5
    Last Post: 10-29-2012, 02:45 PM
  5. Macro, to remove commas and remove speach marks
    By 5h1l in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2012, 12:06 PM
  6. Better way of writing a macro to get a list of part marks and future tips
    By twiggywales in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-20-2012, 08:57 AM
  7. Replies: 0
    Last Post: 12-10-2011, 01:21 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1