Bad file mode (Error 54)

   

Statements used in manipulating file contents must be appropriate to the mode in which the file was opened. This error has the following causes and solutions:

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).