A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Intractable cut & paste problem.



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2005, 08:11 AM
Frank Martin
external usenet poster
 
Posts: n/a
Default 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  
Old October 27th, 2005, 08:31 AM
macropod
external usenet poster
 
Posts: n/a
Default 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  
Old October 29th, 2005, 06:01 AM
mpt
external usenet poster
 
Posts: n/a
Default 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  
Old November 16th, 2005, 11:52 PM posted to microsoft.public.word.newusers
external usenet poster
 
Posts: n/a
Default 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






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasting text without attributes/formatting Jonathan Finney Page Layout 2 October 10th, 2005 11:28 AM
paste excel data to word problem damstras General Discussion 2 September 11th, 2005 09:36 PM
CUT & PASTE PROBLEM Todd General Discussion 1 March 10th, 2005 12:45 AM
Copy and paste several charts problem SiriS General Discussion 2 September 16th, 2004 08:10 AM
Problem with copy & paste formula Mike M. Worksheet Functions 1 November 17th, 2003 12:52 AM


All times are GMT +1. The time now is 12:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.