XL97: "Xlquery.xla Could Not Be Found" Error Opening File
ID: Q173321
|
The information in this article applies to:
-
Microsoft Excel 97 for Windows
SYMPTOMS
When you open a file in Microsoft Excel 97, you may receive the following
error message:
'C:\Program Files\Microsoft Office\Office\Library\Msquery\Xlquery.xla'
could not be found. Check the spelling of the file name, and verify that
the file location is correct.
If you are trying to open the file from your list of most recently
used files on the File menu, make sure that the file has not been
renamed, moved, or deleted.
CAUSE
This error message occurs when you do the following steps:
- You move the Xlquery.xla file from its original folder to another
folder.
- You open a file that contains a macro referencing the Xlquery.xla
add-in.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Excel 97 for
Windows. This problem no longer occurs in Microsoft Excel 2000.
WORKAROUND
To work around this problem, use the following methods.
Method 1: Select the Xlquery.xla Add-In
- In Excel, click Add-Ins on the Tools menu.
- Click to select the MS Query add-in check box.
NOTE: If the MS Query add-in is not listed, click Browse to search for
the Xlquery.xla file. This file is located in the following folder by
default:
C:\Program Files\Microsoft Office\Office\Library\MSQuery
If you still receive the error message described in the "Symptoms" section
of this article, or you cannot find the Xlquery.xla file, then go on to
method 2.
Method 2: Move the Xlquery.xla Add-In to Its Original Location
- Click Start, point to Programs, and then click Windows Explorer.
- In Windows Explorer, point to Find on the Tools menu, and then click
Files Or Folders.
- In the Named box, type Xlquery.xla.
- In the Look In list, click to select the disk drive that might contain
the add-in file, and then click Find Now.
- If the search returns no files, repeat step 4 for any other disk drives
that might contain the add-in file.
- When the search window returns the file, right-click the Xlquery.xla
file icon, and then click Copy on the shortcut menu.
- In Windows Explorer, click to open the MSQuery folder. By default, this
folder is located in:
C:\Program Files\Microsoft Office\Office\Library\MSQuery
NOTE: Depending on where you installed Excel, the MSQuery folder may be
located in a different path.
- In Windows Explorer, click Paste on the Edit Menu.
MORE INFORMATION
Functions from the XLQuery.xla add-in that generate the error message
include QueryGetData and QueryRefresh.
Additional query words:
XL97
Keywords : kberrmsg xlloadsave xlquery xladdins
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb
|