Visual Basic Reference Error Messages  

Bad file mode

Statements used in manipulating file contents must be appropriate to the mode in which the file was opened. Possible causes include:

To correct this error

See Also

Accessing Files with FileSystemObject