Partilhar via


Troubleshooting Exceptions: Microsoft.Office.Tools.RangeNotOnWorksheetException 

A RangeNotOnWorksheetException exception is thrown when a view control is created programmatically with a range that is not from the worksheet that corresponds to the controls collection.

Associated Tips

  • Make sure that the range you specify corresponds to the correct worksheet.
    This exception is thrown when a view control is created programmatically with a range that is not from the worksheet that corresponds to the controls collection.

See Also

Tasks

How to: Find Out More About an Exception with the Exception Assistant

Reference

RangeNotOnWorksheetException