Quicker way to remove double spacing between paragraphs

P

Paul

I know that if I want to get rid of double spacing in Word, I can do Ctrl+H,
then insert the special paragraph mark symbol--two in the Find field, and one
in the replace field. This is a bit laborious. Is there a faster way to do
this? Is it posible to do actions like this with a macro?
--
Paul

MS Office 2003
Vista Home Basic SP1
Dell Inspiron 1501
 
P

Paul

Let me clarify--I'm not talking about doing it again and again in the same
document--I know to click on the Replace All function. I'm talking about
doing it for many different documents, on separate occasions.
--
Paul

MS Office 2003
Vista Home Basic SP1
Dell Inspiron 1501
 
P

Paul B

Let me clarify--I'm not talking about doing it again and again in the same
document--I know to click on the Replace All function. I'm talking about
doing it for many different documents, on separate occasions.

Basically, just record a macro of you doing the Find/Replace.
(Click on Rec in the Status Bar.) Then assign it to a hotkey
and/or button.

p.
 
P

Paul

Yes Suzanne it sure does. Thanks a lot. I'll just use that, and see if I
can't put it on my toolbar. I had no idea that there was a feature like
that--it looks like you can get it to apply other formatting as well. This
looks like the next thing I'm gonna dig into with Word.
--
Paul

MS Office 2003
Vista Home Basic SP1
Dell Inspiron 1501
 
D

Doug Robbins - Word MVP

Use a macro containing the following code:

Use a macro containing the following code:

Dim i As Long, prange As Range
With ActiveDocument
For i = .Paragraphs.Count To 1 Step -1
Set prange = .Paragraphs(i).Range
If Len(prange) = 1 Then
prange.Delete
End If
Next i
End With



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
S

Suzanne S. Barnhill

The important thing to remember is that AutoFormat is different from
AutoFormat As You Type. The former can be both helpful and infuriating
(depending on your settings), but both can be configured pretty
specifically. For example, if you want to use AutoFormat *just* to convert
email addresses and URLs in a document into clickable links, you can check
just that box in AutoFormat, clearing all the others, and run it over the
text.

You can definitely add a toolbar button for this. I honestly think it used
to be on the Formatting toolbar by default, but apparently it isn't in Word
2003 and is not even offered as one of the easy "Add Buttons" options, but
you can certainly add it using Tools | Customize, and I see from the "Add or
Remove Buttons" list that it has a built-in keyboard shortcut of Alt+Ctrl+K
(which I didn't know).

In its default configuration, AutoFormat does a surprisingly good job with
raw text that has had direct formatting applied (the sort you get from
someone who doesn't know how to use Word). You'll find that many "headings"
have been created out of single-line paragraphs, but it's pretty easy to
reverse the mistakes, and the cost/benefit ratio is satisfactory IMO.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
P

Paul

Doug, thanks for the code. I have copied and pasted it to my computer tips
document so if I tire of Autoformat for any reason, I'll use the code.
--
Paul

MS Office 2003
Vista Home Basic SP1
Dell Inspiron 1501
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top