• Searching for a specific graphic

    • This topic has 2 replies, 2 voices, and was last updated 24 years ago.
    Author
    Topic
    #355451

    I am using Word 97 SR1.

    As a part of a conversion from an HTML-based help file to a MS Word document, my document is littered with “See Also” button graphics. I would like to be able to use a macro to search for all graphics that are, in this case, 12 pt high and 43.5 pt wide, and then delete them and the paragraph mark on which they sit (they are on the line, not floating over text, and they are the only thing on the paragraph on which they sit). The size of the graphic is the only thing that distinguishes it from the other graphics that I want to keep.

    Thanks for any help you can give!!
    Troy

    Viewing 0 reply threads
    Author
    Replies
    • #524343

      Troy, is this graphic really a link to an image file, or is it actually an embedded picture object?

      – If it’s a link, you probably could do a wildcard search.

      – If it’s a picture object, you might need to skim through all the picture objects in the document, checking out their height and width. See the attached example. You will need to substitute your graphic’s measurements.

      • #524601

        Sorry I took so long to get back with you, but just wanted to say thanks!! This worked perfectly for me.

        Troy

    Viewing 0 reply threads
    Reply To: Searching for a specific graphic

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: