Object reference is not set to an instance of an object (Release 7)
This error message will appear in the View Data Excel workbook on one or more worksheets where a query has been used to retrieve data. It indicates that something is wrong with that particular query dataset –it’s incorrectly referenced, inaccessible, or incorrectly written.