Invalid file format (Error 321) [2 of 2]
Disk files often have data stored in proprietary formats. This error has the following cause and solution:
You tried to load a file into a component, but the format of the data in the file was incompatible with the component. Consult the documentation for the component to determine the proper format for disk file data and whether the component provides support for converting from one format to another.
You tried to save component data to a file, but the format of the data was incompatible with the format of the file. Consult the documentation for the component to determine whether it provides support for converting from one format to another.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.