How to write a macro which automatically realize whether, after editing a document, a table can be p
When working with word documents, sometime I use “page break” to ensure a table or a picture don’t extend beyond one page(see the attacment1, if I didn’t use page break, the table1 last rows would go to page2). And it is often the case that I modify my previous Word documents (writing some new paragraphs, deleting some text) and such changes may make page break redundant. (see the attacment2, which is attachment 1th with its a 2th paragraph deleted. In this case the entire table1 can be put in page1) I want to write a macro which automatically realize such “redundant page breaks” and delete them. Can you give me some guides on how it can be done.
|