Excel Err Msg: Database Range Is Not Valid

Last reviewed: November 29, 1994
Article ID: Q73171
The information in this article applies to:
  • Microsoft Excel for Windows, versions 2.x, 3.0, 4.0
  • Microsoft Excel for OS/2, versions 2.2 and 3.0

SUMMARY

When you attempt to extract data from an external database, Microsoft Excel displays the error message "Database Range Is Not Valid" if the external database range is on a closed sheet. The sheet must be open for the extraction to work.

MORE INFORMATION

If you prefer not to have the external sheet open, use the Q+E program included with Microsoft Excel 3.0 and 4.0 to access the range.

  1. Load Q+E by choosing Activate Q+E from the Data menu. If this option is not available, then first open QE.XLA from the XLSTART\QEMACRO subdirectory of Microsoft Excel. If QEMACRO is not a subdirectory of XLSTART, Q+E may not be installed. If Q+E fills the screen, minimize it.

  2. From the Excel Data menu, choose Set Database.

  3. Select External Database.

  4. From the Source drop-down list box, select ExcelFile.

  5. Change to the directory that contains the Excel file with the desired Database. Select the file and choose OK.

  6. From the Data menu, choose Paste Field Names to paste the field names into your desired criteria and extract ranges.

  7. Set the Criteria and Extract ranges.

  8. From the Data menu, choose Extract.

REFERENCES

"Microsoft Excel User's Guide," version 3.0 for Windows, pages 380-383

"Q+E for Microsoft Excel User's Guide," version 3.0, pages 57-62


KBCategory: kberrmsg
KBSubcategory:

Additional reference Words: 2.0 2.00 2.01 2.1 2.10 2.2 2.20 2.21
3.0 3.00 4.0 4.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 29, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.