Category Archives: Bookmarks

No Thumbnail

VBA Word, Split Word File into Multiple Files (Every X Lines)

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

No Thumbnail

Word VBA, Bookmarks

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.

No Thumbnail

Word VBA Insert Images

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”,

No Thumbnail

Word VBA Using Bookmarks to Move the Cursor

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