![]() For instance, if the two sequential paragraph marks use different formatting from each other, the formatting of the first paragraph mark remains unchanged. The reason this approach is taken is because it leaves the formatting correct on the remaining paragraph mark. Then the second part of the macro kicks in-using the -property to delete the second of the two sequential paragraph marks. ![]() The macro doesn't replace the sequential paragraph marks it simply finds them. The first part-which relies on the Selection.Find method-uses Word's built-in find and replace capabilities to find all instances of two paragraph marks in sequence. Selection.MoveLeft Unit:=wdCharacter, Count:=2 Selection.MoveRight Unit:=wdCharacter, Count:=1 When it is completed, there should not be even two paragraph marks in a row in your document. It removes extra paragraph marks from a document. If you find yourself in this situation, you may find this macro of interest. ![]() This process of manually removing extra paragraph marks can be very time consuming. This is particularly true if you are working with an ASCII file or a file that may have originally been formatted with another word processor. There may be times when you are working with a document when you have a need to remove extra paragraph marks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |