Visual Basic for Applications Reference
Invalid file format (Error 321)
See Also Specifics
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.