#My word document is showing two pages code#VBA: Split Document into Multiple Documents by Page in Word Sub SplitIntoPages()Īpplication.ScreenUpdating = False 'Makes the code run faster and reduces screen _ Here is another VBA to help you quickly split one Word document to multiple by page in Word. (4) You do not need to add delimiter to the end of the original file, if you do, there will be a blank document after splitting. (3) And the splitting documents will be saved to the same place with the original file. (2) You can change the documents "Notes" in the sub Test to suit your needs. Also, you can change "///" to any delimiters to meet your need. (1) Be sure to add your delimiter as the same as "///" in the sub test to the document between each section of text you wish to separate. In the popping out Microsoft Word document, please click the Yes button to go ahead. Then click Run button or press F5 key to apply the VBA.Ĥ. Response = MsgBox("This will split the document into "
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |