Finding out image file information

M

Mika

Hi,

I have a Word document with three paragraphs. The second one has an
image. How can I use VBA to find out the information about the image
(file name, width, and height)?

Mika
 
M

Mika

Hi,
I have a Word document with three paragraphs. The second one
has an image. How can I use VBA to find out the information
about the image (file name, width, and height)?

Now I have the following code which pop-ups the hyperlinks of images:

Dim img As Integer

For img = 1 To ActiveDocument.InlineShapes.Count
With ActiveDocument.InlineShapes(img)
MsgBox .Hyperlink.Address
End With
Next img

Is there any way to find out the locations of image files which are
inserted on my Word document?

Mika
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top