In a long document, I want to run a macro to check every paragraph to make sure that it does not cross over to the next page. If it does, set the paragraph property to “Keep lines together.” How do I check if the paragraph crosses over to the next page?
Do I have to check the page number of the beginning of the paragraph with the page number of the end of the paragraph? If so, how would I determine the page number? Or, is there an easier way?