none
Can't do a insert on a Content control area of a doc RRS feed

  • Question

  • I received an error when my code loop through the paragraphs looking for a special styles and determining the editable areas. In one of the editable area a graph is inserted for the user but this is where the code throws an exception. Error: Rich text controls cannot be applied here. Error: Command Failed
    Wednesday, June 29, 2011 12:14 AM

All replies

  • Impossible to offer an opinion without more information. We'd need to see the code that's involved, with the line throwing the error highlighted.

    As set of repro steps could also help.

    Also, which version of Word?


    Cindy Meister, VSTO/Word MVP
    Wednesday, June 29, 2011 8:52 AM
    Moderator