View Single Post
  #1   Report Post  
Posted to microsoft.public.word.vba.general,microsoft.public.word.pagelayout,microsoft.public.word.vba.addins,microsoft.public.word.vba.customization,microsoft.public.word.vba.beginners
josh[_2_] josh[_2_] is offline
external usenet poster
 
Posts: 1
Default here's a word macro to fix wrap multi-line text when pasting

Announcing a humble little tool that can save a lot of time, not to
mention tedium and frustration.

Problem: when copying multiple lines of text from PDF into Word
documents, there’s no easy way to merge multiple lines of text into a
single paragraph in Word. The busy author must hand-edit, line by
line, removing line breaks and adding spaces.

Solution: With this simple macro for Microsoft Word 2007, press CTRL-
SHIFT-V and the clipboard’s text is pasted without CR/LF “wrap”
characters, so you get a single, merged line of text.

You can get it at https://sourceforge.net/projects/wordwrap-macro/

V1 works with Word 2007 on Vista in English, but it’s open-source. I
had very little time to implement this, so feel free to improve its
crude but effective design! (please update the sourceforge project if
you do, so your work is available to everyone.)

-Josh
Josh Whitkin - Lecturer, Games Art & Design, Murdoch University, Perth
Australia