Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Why does this vba replacetext macro not work?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Graham Mayor, post: 5891854"] Whether or not it works, it is certainly not the correct approach to remove inter-paragraph spacing. Apply a style to the selection that has no space before/after If you must apply manual formatting with a macro Dim oRng As Range Dim oPara As Paragraph Set oRng = Selection.Range For Each oPara In oRng.Paragraphs oPara.SpaceAfter = 0 oPara.SpaceBefore = 0 Next oPara -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP <>>< ><<> ><<> <>>< ><<> <>>< <>><<> [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA
Why does this vba replacetext macro not work?
Top