Table of contents
Collapse the table of content
Expand the table of content

Invalid data format

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

The data read from a file wasn't in the expected format. This error has the following causes and solutions:

  • A project file orobject library file is either corrupted or in a format that can't be understood.

    Get a new version of the project file or object library file.

  • You may have attempted to load an .exe file into a module.

    Load the source code instead.

  • You may have used the References dialog box andObject Browser to add a reference to a file that isn't a valid object library or contains a Basic project in a format not supported by thehost application. For example, on the Windows platform, Microsoft Excel can't understand .bas or .frm files, or Microsoft Project files containing Basic code.

    Load the questionable file into the application in which it was created, and then save it in a compatible format. For example, object library source code can be processed through MkTypLib; and QuickBasic, and Visual Basic code can be saved in text format, and so on.

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

© 2018 Microsoft