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

ID: Q109622

5.00 WINDOWS kbdocerr kbother

The information in this article applies to:

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

Version           : 5.00
Platform          : WINDOWS

Last Reviewed: September 14, 1996