Tag Archives: Images

No Thumbnail

Word VBA, Removing Picture Captions

In this article I will explain how you can remove caption from all the images in a document. As explained in the article Word VBA, Loop Through Images there are basically 2 types of images: Floating Inline The 2 image types have different types of caption and

No Thumbnail

Word VBA, Re-Adjust Caption

Lets say you’ve created caption for all your images, but then you decide to move the image to a new location. The caption will not follow and you will end up with something that looks like this: In this article I will explain how you can re-adjust

No Thumbnail

Word VBA, Get Picture Horizontal Position

In this article I will explain how you can get a pictures position using VBA for Word. – Step 1, Getting reference to the Image As explained in the article below, pictures can either be inline or floating: Word VBA, Loop Through Images The first thing

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, Crop Images

In this article I will explain how you can use VBA for word to crop images. The first step is to determine the type of image. There are 2 types of images: Inline Floating I’ve previously explained about the 2 image types in the article