check if specific picture exist in footer

4

4tis

i need to check if specific picture by pic name or something else is
exist in the first page footer or in the primary footer.
i need to check it with VBA code from macro in word
thanks
 
J

Jezebel

Not easy. You can check that there is *a* picture by checking the footer
range shapes and inlineshapes collections: if the collection is not empty,
then check the type of shape to see if the shape is a picture.

But I don't know any way to check what the picture actually is. I guess you
could export it to a file then compare that file with another copy of the
picture you're checking for.
 

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