How to get the Range for shapes object ( its type is 'msoAutoShape') in word document using RRS feed

  • Question

  • Actually my problem is,

    A word document that contains a shape (its type is 'msoAutoShape') at end of the document.

    The Range.End of the word document does not include the shape's position.

    Could some one help me in getting the range for this particular type shape object.



    Tuesday, January 24, 2012 9:07 AM

All replies

  • Hi Ashraf

    The Anchor property of the Shape object will give you the anchoring range.

    Cindy Meister, VSTO/Word MVP
    Tuesday, January 24, 2012 12:29 PM