Comparing Ranges in Excel

Posted by mcoolbeth on Stack Overflow See other posts from Stack Overflow or by mcoolbeth
Published on 2010-06-02T17:48:20Z Indexed on 2010/06/02 17:54 UTC
Read the original article Hit count: 355

Filed under:
|

In the Excel Interop libraries, is there functionality to determine whether a given Range object is contained within another Range object?

It would be simple enough for me to compare the row and column indices of each Range, but things become more complicated when you want to compare two ranges that may be on different worksheets.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about excel-interop