S
Sam
I'm automating Word using C# and XML. One of my users keeps getting the
error, "Requested object not found" when trying to reject or accept changes
made to a table cell. I thought it might be because the table cell contained
xml tags, so I went to my machine and closed all open applications. I then
opened Word manually (no xml), created a table, typed in some text in all
cells, and turned on "Track Changes". I then bolded the text in one of the
cells. The "formatted" track change bubble appeared on the right. If I then
right-clicked on the bubble and tried to reject the change, nothing happens.
The only way I could make it dissappear is if I reject all changes.
Turns out if I load this document into my c# automation tool and try to
iterate through the document revisions, I get items in the collection that
are in COMException; trying to get to any properties of the item causes
errors.
This wasn't an XML document; it was just a normal document.
error, "Requested object not found" when trying to reject or accept changes
made to a table cell. I thought it might be because the table cell contained
xml tags, so I went to my machine and closed all open applications. I then
opened Word manually (no xml), created a table, typed in some text in all
cells, and turned on "Track Changes". I then bolded the text in one of the
cells. The "formatted" track change bubble appeared on the right. If I then
right-clicked on the bubble and tried to reject the change, nothing happens.
The only way I could make it dissappear is if I reject all changes.
Turns out if I load this document into my c# automation tool and try to
iterate through the document revisions, I get items in the collection that
are in COMException; trying to get to any properties of the item causes
errors.
This wasn't an XML document; it was just a normal document.