Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Format changes after a sentence was pasted
I have copied a sentence from a PDF document and pasted it into a word 2007
document. The text has a space between each letter and three spaces between each word. Can I alter this to no spaces between letters then manually space each word??? I also read that the text type has altered in other questions which also happened. I purchased a Visagesoft PDF Editor from the UK. Any assistance very much appreciated from confused in New Zealand. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Format changes after a sentence was pasted
Try this€¦
Instead of making the words without space and giving space manually, you can do it in a single way. Just press CNTRL+H and in Find What Box give three spaces and in Replace With Box give one space, then press Replace All button. This will replace all three spaces with single space. If this post helps, Click Yes! -------------------- (Ms-Exl-Learner) -------------------- "Struggling Kiwi" wrote: I have copied a sentence from a PDF document and pasted it into a word 2007 document. The text has a space between each letter and three spaces between each word. Can I alter this to no spaces between letters then manually space each word??? I also read that the text type has altered in other questions which also happened. I purchased a Visagesoft PDF Editor from the UK. Any assistance very much appreciated from confused in New Zealand. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Format changes after a sentence was pasted
You need three passes - try the following macro
With ActiveDocument.Range .Text = Replace(ActiveDocument.Range.Text, " ", "@@@") .Text = Replace(ActiveDocument.Range.Text, " ", "") .Text = Replace(ActiveDocument.Range.Text, "@@@", " ") End With http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Struggling Kiwi wrote: I have copied a sentence from a PDF document and pasted it into a word 2007 document. The text has a space between each letter and three spaces between each word. Can I alter this to no spaces between letters then manually space each word??? I also read that the text type has altered in other questions which also happened. I purchased a Visagesoft PDF Editor from the UK. Any assistance very much appreciated from confused in New Zealand. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Format changes after a sentence was pasted
Or even
With ActiveDocument.Range .Text = Replace(.Text, " ", "@@@") .Text = Replace(.Text, " ", "") .Text = Replace(.Text, "@@@", " ") End With -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Graham Mayor wrote: You need three passes - try the following macro With ActiveDocument.Range .Text = Replace(ActiveDocument.Range.Text, " ", "@@@") .Text = Replace(ActiveDocument.Range.Text, " ", "") .Text = Replace(ActiveDocument.Range.Text, "@@@", " ") End With http://www.gmayor.com/installing_macro.htm Struggling Kiwi wrote: I have copied a sentence from a PDF document and pasted it into a word 2007 document. The text has a space between each letter and three spaces between each word. Can I alter this to no spaces between letters then manually space each word??? I also read that the text type has altered in other questions which also happened. I purchased a Visagesoft PDF Editor from the UK. Any assistance very much appreciated from confused in New Zealand. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i format pasted items consitantly with my document? | Microsoft Word Help | |||
I pasted an email onto word and the format got messed up. help ple | Microsoft Word Help | |||
Is there a way to format a circle with a sentence ? | Microsoft Word Help | |||
pasted a picture in scrap format | Microsoft Word Help | |||
How to format a document comprising text pasted from other documen | Microsoft Word Help |