Format too old or invalid type library in Chinese Excel 2010

0

Error came at Startup of Excel 2010 in Chinese MS Office .

Error is as followS 格式太旧或类型程序库无效 . (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD) )

Please Assist ?

c#
ms-office
vsto
asked on Stack Overflow May 26, 2015 by Harshal Bhamare • edited May 26, 2015 by Soner Gönül

1 Answer

0

This is a well-known issue when automating Office applications. There are two possible ways to avoid the issue:

  1. Use the late binding technology specifying the culture information when calling properties and methods, see Type.InvokeMember for more information.
  2. Set the CultureInfo prior to calling any Excel properties or methods.

You can read more about that in the following articles (contains the same information):

answered on Stack Overflow May 26, 2015 by Eugene Astafiev

User contributions licensed under CC BY-SA 3.0