Excel 95 format

I just ran across a problem that I tracked down to the file my program was trying to read being in Excel 95 format. Now I know the problem it is easy to fix, but I wondered whether there was any easy way to check for this, as opposed to any other invalid/corrupt file, so that I can give the user an informative error message.