Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Intractable cut & paste problem.
I scan textbooks and save the result in Word2000 as "unformatted" text.
If I want to send the result via email the text has a space between each line, and I have to cut these out before sending. Is there a better way? Please help, Frank |
#2
|
|||
|
|||
Intractable cut & paste problem.
Hi Frank,
The problem may be related to your OCR software. If it's putting a carriage return at the end of each line, then what you're getting in Word is a separate paragraph for each line. If that's the case, you should be able to use Word's Find/Replace function to replace these with spaces, but you'll need to sort out how you're going to preserve true paragraph breaks. The usual technique, if the true paragraph breaks are represented by pairs of carriage returns, is to replace the paired carriage returns with a unique character, then replace the rest with spaces, followed by replacing the unique characters with carriage returns. Cheers "Frank Martin" wrote in message ... I scan textbooks and save the result in Word2000 as "unformatted" text. If I want to send the result via email the text has a space between each line, and I have to cut these out before sending. Is there a better way? Please help, Frank |
#3
|
|||
|
|||
Intractable cut & paste problem.
Frank, I created a macro to remove carriage returns from the end of a line
and replace it with a space. I assigned Ctrl-alt-down arrow to it. It works well, tho it sometimes skips down one line too many. But it's a relatively easy way to strip out the offending CRs. Here's the macro: Sub Stripreturns() ' ' Stripreturns Macro ' Macro recorded January 11, 2004 ' Selection.EndKey Unit:=wdLine Selection.TypeText Text:=" " Selection.Delete Unit:=wdCharacter, Count:=1 Selection.MoveDown Unit:=wdLine, Count:=1 Selection.MoveLeft Unit:=wdCharacter, Count:=1 End Sub It helps in editing your text to show the CRs by pressing Ctrl-shift-*. Richard "Revered by the common man." "Frank Martin" wrote in message ... I scan textbooks and save the result in Word2000 as "unformatted" text. If I want to send the result via email the text has a space between each line, and I have to cut these out before sending. Is there a better way? Please help, Frank |
#4
Posted to microsoft.public.word.newusers
|
|||
|
|||
Intractable cut & paste problem.
Many thanks. "mpt" wrote in message news:BmD8f.283247$084.32586@attbi_s22... Frank, I created a macro to remove carriage returns from the end of a line and replace it with a space. I assigned Ctrl-alt-down arrow to it. It works well, tho it sometimes skips down one line too many. But it's a relatively easy way to strip out the offending CRs. Here's the macro: Sub Stripreturns() ' ' Stripreturns Macro ' Macro recorded January 11, 2004 ' Selection.EndKey Unit:=wdLine Selection.TypeText Text:=" " Selection.Delete Unit:=wdCharacter, Count:=1 Selection.MoveDown Unit:=wdLine, Count:=1 Selection.MoveLeft Unit:=wdCharacter, Count:=1 End Sub It helps in editing your text to show the CRs by pressing Ctrl-shift-*. Richard "Revered by the common man." "Frank Martin" wrote in message ... I scan textbooks and save the result in Word2000 as "unformatted" text. If I want to send the result via email the text has a space between each line, and I have to cut these out before sending. Is there a better way? Please help, Frank |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
paste excel data to word problem | Microsoft Word Help | |||
Paste link problem | Microsoft Word Help | |||
Cut and Paste problem | Microsoft Word Help | |||
Cut and Paste Problem | Microsoft Word Help | |||
Excel Paste Link - Insert row problem | Microsoft Word Help |