In this article I will explain how you can use VBA for Word to split a word document every X pages. Each section will be saved in a separate document. – Splitting Every X Pages: In this example the word document will be split every 3 pages.
In the article below I’ve explained how you can use VBA for word to split a word document into multiple files every X pages: VBA Word, Split Word File into Multiple Files (Every X Pages) In this article I will explain how you can split the document
In this article I will explain the basics of working with bookmarks in VBA for word. – Creating Bookmarks: Bookmarks can be created by using the Add method of the Bookmarks collection: Bookmarks.Add (“bmName”) The input parameter to the Add method is a text string to name the bookmark.
In this article I will explain how you can use VBA for word to insert images to a word document using VBA. – Insert Single Image: The code below will insert the image “SP_A0155.jpg” from the location “D:StuffBusinessTemp”: Sub Example1() Selection.InlineShapes.AddPicture FileName:= _ “D:StuffBusinessTempSP_A0155.jpg”,
Bookmarks are a great way to specify important locations on the word document. Using VBA you can move the cursor to those bookmarks. – Creating Bookmarks Manually: For example assume you have the following data in a word document: We want to be able to modify