VBR00054 — Bad file mode
Severity: Error · Family: VBR (runtime semantics) ·
Source metadata: VBRuntimeErrorInfo
An operation is not valid for the mode a file was opened in.
MS-VBA run-time error 54; the numeric portion of the code is the error's number. This code is raised by FileStatementRuntimeSemantics, StdHidden.
How it is raised
| Situation | Example | Resolution |
|---|---|---|
| An operation is not valid for the mode a file was opened in. | Print #1, x on a file opened For Input |
Open the file for what you do with it. |
See also
ACCUEIL • HOME | ℹ️ BIENVENUE • WELCOME | 🧩 BÂTISSONS • BUILD | RD-VBAL | SDK | 🌐 rubberduckvba.ca