Share via


RangeNotOnWorksheetException Class (2007 System)

The exception that is thrown when the range provided does not exist on the worksheet.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class RangeNotOnWorksheetException _
    Inherits RuntimeException
'Usage
Dim instance As RangeNotOnWorksheetException
[SerializableAttribute]
public sealed class RangeNotOnWorksheetException : RuntimeException
[SerializableAttribute]
public ref class RangeNotOnWorksheetException sealed : public RuntimeException
public final class RangeNotOnWorksheetException extends RuntimeException

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
      Microsoft.Office.Tools.RangeNotOnWorksheetException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RangeNotOnWorksheetException Members

Microsoft.Office.Tools Namespace