API1039 The specified range of rows and columns is not valid.

Explanation

Invalid values were specified for the FirstRow, FirstCol, LastRow, and LastCol parameters of an exporting result set function.

User response

Specify valid values for the FirstRow, FirstCol, LastRow, and LastCol parameters of any exporting result set function.