How to read Form fields (ActiveX contol) values from word 2010 using OpenxmlSDK RRS feed

  • Question

  • Dear team

    I have a word 2010 dopcument, in which I have placed some Activex component in it, now I want to read its values

    how to do it using OpenXMLSDK

    Please suggest



    Thursday, March 30, 2017 6:57 AM

All replies

  • Hello Prasad,

    What control do you add and what value do you want to read?

    I would suggest you download Open XML SDK Tool from to check the XML and generate code

    1. Create two documents : one is original file (without ActiveX controls ), the one is the target file (with ActiveX controls);

    2. Use Open XML SDK 2.5 productivity Tool for Microsoft Office

    3. Click the Compare Files, generate the code, and then you could get the code how it accesses the control.



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, March 31, 2017 8:31 AM