USE.INDEX Example Not Working Correctly in Q+E

Last reviewed: November 2, 1994
Article ID: Q71968

SUMMARY

Page 113 of the "Q+E for Microsoft Excel User's Guide" for version 3.00 shows an incorrect example for using the USE.INDEX command, which uses a dBASE index to sort dBASE records in the Query window. The documentation states the USE.INDEX(index_file) does not use a file extension, even though the example shows one. Executing this command will return a #REF! error.

MORE INFORMATION

The example on page 113 shows

   USE.INDEX('EMPHIRE.NDX')

which shows the file extension .NDX. You need to remove the filename extension .NDX, which the macro will execute correctly. The following example shows the correct syntax.

   USE.INDEX('EMPHIRE')

REFERENCES

"Q+E for Microsoft Excel User's Guide." Version 3.00, page 113.


KBCategory: kbother
KBSubcategory:

Additional reference words: noupd


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