Error 91: Invalid file type The file operation does not accept a file of this type. Check the syntax for the file operation and make sure the operation accepts the file type you specified. This problem often occurs if you try to use a Text file operation on a binary file or vice versa.