Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This apparently is a bug which was fixed in .NET 4.0 (<a href="http://blogs.msdn.com/b/vsto/archive/2009/07/06/bug-old-format-or-invalid-type-library-error-when-automating-excel-christin-boyd.aspx" rel="nofollow">source</a>): if the regional setting of Excel is different from the regional setting of the PC, you will get this error.</p> <p>From Microsoft:</p> <blockquote> <p><strong>You receive this error calling an Excel method when the following conditions are true:</strong></p> <p>-The method requires an LCID (locale identifier).</p> <p>-You run an English version of Excel. However, the regional settings for the computer are configured for a non-English language.</p> <p>If the client computer runs the English version of Excel and the locale for the current user is configured for a language other than English, Excel will try to locate the language pack for the configured language. If the language pack is not found, the error is reported. </p> <p><strong>To work around this problem, you can use one of the following methods:</strong></p> <p>-Install the Multilingual User Interface Pack for your version of Office.</p> <p>-Execute the Excel method or property by using InvokeMember so that you can specify the CultureInfo for the call. For example, the following code illustrates how you can invoke the Workbooks object Add method with "en-US" as the CultureInfo</p> <p>-Or, set the CultureInfo prior to calling the Excel method.</p> </blockquote> <p>see this link for code examples of the suggested workarounds: <a href="http://support.microsoft.com/kb/320369" rel="nofollow">http://support.microsoft.com/kb/320369</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload