WMF stream in a word document RRS feed

  • Question

  • Hi,

    Do we have a way to find out whether WMF images/streams are present in the word document?

    I could not find any VBA method to achieve this.



    Thursday, September 29, 2011 12:41 PM

All replies

  • Hi Uttam

    Which version of Word (file format)?

    With docx it should be possible, but not with *.doc.

    Cindy Meister, VSTO/Word MVP
    Thursday, September 29, 2011 1:11 PM
  • Thanks Cindy.. It was a general query independent of Office version.
    Monday, October 10, 2011 10:03 AM
  • Hi Uttam

    Mmmm. Well, with VBA you can determine whether there are graphics, in general, by looping the Shapes and InlineShapes collections for every StoryRange in the document (all versions of Word). Does that sound like what you need?

    Cindy Meister, VSTO/Word MVP
    Monday, October 10, 2011 12:32 PM