Excel UI Dialog Error:
The file you are trying to open test.xls is in a different format then
specified by the file extension.
Excel Create worksheet Instance Error:
Error: System.Runtime.InteropServices.COMException (0x80010001): Creating an
instance of the COM component with CLSID
{00020820-0000-0000-C000-000000000046} from the IClassFactory failed due to
the following error: 80010001.
2008 VB.Net Code.
Dim MainWorkSheet As New Microsoft.Office.Interop.Excel.Worksheet