Using the DIR() Function Does Not Produce ErrorLast reviewed: March 27, 1997Article ID: Q133052 |
5.00 7.00 7.00a
WINDOWS
kbusage
The information in this article applies to:
SYMPTOMSIn the versions of Microsoft Excel listed above, when you use the Dir() function in a Visual Basic for Applications module, if the directory does not exist or is incorrect, you do not receive a run-time error.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe Dir() Function returns the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume label of a drive.
REFERENCES"Microsoft Excel Visual Basic for Applications Reference" version 5, page 198 For more information about the Dir function, choose the Search button in Programming With Visual Basic Help, and type:
dir |
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |