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 Documents
VBA to apply a Soft Return (or Hard Return) at end of wrapped line
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Greg, post: 5242103"] Klaus, If I can make a suggestions to dress the code up a bit. As is, if the user selects the final paragraph mark a continous loop occurs. I added the following lines to prevent this: Dim i As Integer i = Selection.StoryType Set myRange = Selection.Range.Duplicate If myRange.End = ActiveDocument.StoryRanges(i).End Then myRange.MoveEnd wdCharacter, -1 End If [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word Documents
VBA to apply a Soft Return (or Hard Return) at end of wrapped line
Top