export Excel

Options

linqpad5 Unable to export Excel spreadsheet. Linqpad prompts cannot open Excel - is it installed? But linqpad7 can be exported normally.

Comments

  • Are you using the same 32-bit or 64-bit architectures for both 5 and 7 and is your Excel 32 or 64 bit?

    Most of the problems with com objects that I have seen were due to a bit-ness issues.

    AFAIK Linqpad uses the standard way to detect excel which is by calling System.Type.GetTypeFromProgID("Excel.Application") which will return null if excel is not found.