Experts Exchange connects you with the people and services you need so you can get back to work.
Dim rng As Range
Set rng = ActiveDocument.Range
.Text = "^p"
Do While .Execute
If ActiveDocument.Range.End - rng.End < 2 Then
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.