Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VB.Net Create Excel Worksheet Error when other UI instance has err

52 views
Skip to first unread message

G.@discussions.microsoft.com Michael G.

unread,
Aug 28, 2009, 6:39:01 PM8/28/09
to
There is a 2007 UI Excel instance up with an error on it and there is a
vb.net program that tries to create a worksheet intance. See the info below.
Thanks in advance.

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


0 new messages