Have you tried doing a find/replace and using the special option, then choosing paragraph mark twice (or manual line break, depending on how the blank spaces were created), and replacing either with one paragraph mark or none, depending on how many blank lines. Don't know how large your document is but I use the find/replace special feature as the first step when I'm cleaning up things like that. You can replace all or replace one at a time if you want to manually check them out first. I usually do them manually for several instances till I'm sure it's what I want, then just replace all. If I'm not sure I make a back up of the document. hth, Cathy = =20 "Svend Nykj=E6r" = =20 <snykjaer@transaxio To: <mso@xxxxxxxxxxxxx> = =20 m.com> = =20 Sent by: cc: = =20 mso-bounce@freelist = =20 s.org Subject: [mso] Macro for de= leting blank lines? =20 06/09/2004 11:10 AM = =20 Please respond to = .....=20 mso = =20 = =20 = =20 Hi, I have a document where I want to shape up the formatting - I admit I was sloppy. One of the things to do will be to get rid of all blank lines, but if I can belp it, I don't want to browse the document and delete them manually. Do you know if there is a macro for doing it? TIA Svend ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ---------------------------------------------------------------------------= -------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient=20 of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you=20 received this in error, please contact the sender and delete the=20 material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect=20 the views of the company. =20 ---------------------------------------------------------------------------= ---------------------------- ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************