XL98: How to Remove External Data Connection Information

Last reviewed: February 2, 1998
Article ID: Q180185
The information in this article applies to:
  • Microsoft Excel 98 Macintosh Edition

SUMMARY

When you return external data to the worksheet, a defined name is created in the workbook. This name references the entire result set (the returned data). This article explains the preferred method for breaking the link between the workbook and the external data source.

MORE INFORMATION

Unlike earlier versions of Excel, hidden defined names are not created to store query definition information in Excel 98. Excel version 5.0 stores the connection string and Structured Query Language (SQL) statement in hidden defined names in the workbook. However, Excel 98 does not use this method for storing external data connection information. By choosing not to save the query definition in the External Data Range Properties dialog box, you remove all traces of external data connections.

To remove an external data range from a worksheet, follow these steps:

  1. Click any cell in the data range. On the Data menu, point to Get External Data, and then click Data Range Properties.

  2. In the External Data Range Properties dialog, clear the Save Query Definition option.

    NOTE: If you created multiple external data references you must clear the save query definition property for each data range.

  3. The defined name that refers to the external data range remains in the workbook.

    Although this is not necessary, you may delete this name. The name, by default, is similar to ExternalData1. To delete the name, point to Name on the Insert menu and click Define. In the Define Name dialog box, click the name and click Delete.


Additional query words: XL98 odbc dsn
Keywords : xlquery kbtool
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbhowto


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: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.