The information in this article applies to:
SYMPTOMS
When you use the Visual Basic for Applications Open method to open a file,
the following error message may appear:
CAUSE
This problem occurs when the following conditions are true:
-and- http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/refguide/ This error occurs regardless of whether the default file format has been specified, as in the following example:
-or-
NOTE: This error also occurs if the document you are attempting to open does not exist. WORKAROUND
To work around this issue, specify the file name extension as part of the
FileName argument. The following example opens a Rich Text Format (.rtf)
document that exists in the default document directory:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONFor more information about using the sample code in this article, please
see the following article in the Microsoft Knowledge Base: Q212536 OFF2000: How to Run Sample Code from Knowledge Base Articles REFERENCESFor more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base: Q226118 OFF2000: Programming Resources for Visual Basic for Applications Additional query words: vb vba vbe Fileopen
Keywords : kbdta OffVBA word8 kbwordvba word97 wd2000 |
Last Reviewed: June 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |