Cannot edit Range

During report generation you may encounter this error.  If you copy the error details to the clipboard it shows:

System.Runtime.InteropServices.COMException (0x800A1710): Cannot edit Range. at Microsoft.Office.Interop.Word.Range.Delete

One cause of this error is when you have a nested $if or $exclude statement that doesn't use the numbering mechanism that's required when nesting. In order for the reporting engine to match up $ifs and $endifs when they're nested, you need to need to number them. For example:

$if1 UseCases Exist 
...
$if2 Notes Exist
...
$endif2
...
$endif1
Have more questions? Submit a request
Was this article helpful?
0 out of 0 found this helpful

Comments

Powered by Zendesk