XL5: Incorrect Syntax for VB Equivalent of FILES() Function

Last reviewed: September 12, 1996
Article ID: Q109622
The information in this article applies to:
  • Microsoft Excel for Windows, version 5.0

SUMMARY

In Microsoft Excel version 5.0 Help, the Visual Basic Equivalents For Macro Functions And Commands contains an error in the Visual Basic equivalent for the FILES() macro function. Line 7 of the Visual Basic equivalent example for the FILES() macro function reads:

   arrayFiles(count)=mergeformat

The correct syntax for this line is:

   arrayFiles(count)=f

MORE INFORMATION

Microsoft Excel Macro Functions Help (MACROFUN.HLP) is included with Microsoft Excel version 5.0. It contains help for creating Microsoft Excel version 4.0 macros as well as help for switching to Visual Basic macros.

To locate the error in MACROFUN.HLP:

  1. From the Help menu, choose Contents.

  2. Select the Reference Information category.

  3. Under General Information, choose Microsoft Excel Macro Functions Contents.

  4. Under Contents, select Visual Basic Equivalents for Macro Functions and Commands.

  5. At the next help screen choose the F button and scroll to the Files function.


KBCategory: kbdocerr kbother
KBSubcategory:

Additional reference words: 5.00 docerr



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