![]() When creating editable Word documents, as a "good practice," you would use a paragraph style with the "Page Break Before" property set to achieve the break, rather than a hard page break as I have done. If your document can already be multi-page, you would need significantly different code. you just want to insert a new page at the end of the document and insert a copy of the table after that.However, if you want to force a new page, you can insert a manual page break by pressing Ctrl+Enter. the table you want to copy is the first table in the document Normally you just continue typing until Word inserts a new page. ![]() Your original question needs some clarifications (see some points below), but see if the following code spoils your formatting: Sub copytable1() The table will flow into the next page automatically, and you can specify repeating heading rows as well. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |