Thanks a lot for your post. I tried to run this sample code, but i am getting the following error and not able to proceed.

"'DocumentFormat.OpenXml.Packaging.OpenXmlPart.RootElement' is inaccessible due to its protection level". I just copied the code and try to run. I have added the reference to the corresponding DLL. Please guide me.

Hi Eric, you code works well for the attached docx file, but it doesn't Iterating through all Content Controls if one Content Control contains other Content Control.

I mean lets say, i have Rich Text Content Control with table inside & inside this table i have lets say CheckBox Content Control column for all the rows. These checkBox Content Control are not Iterate through.

having trouble putting this into a winform app; runs ok in console app and finds every contentcontrol. problem is, how to then WRITE into that content control??

?

writing into the content control is something that is not easy to do, its not documented on the internet, there are examples but they use the word interop; how are content control values written into directly from c# ??? it is EXTREMELY hard to do