<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Excel Automation: the CultureInfo bug</title>
	<atom:link href="http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Wed, 08 Feb 2012 16:00:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Stephane</title>
		<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/comment-page-1/#comment-4025</link>
		<dc:creator>Stephane</dc:creator>
		<pubDate>Mon, 30 Jan 2012 20:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/#comment-4025</guid>
		<description>Besides, 
The same lines had a different behavior in VB.Net (with Excel automation) and in VBA (Excel VBA).
&quot;MyCell.NumberFormat&quot; in VBA returns english format
&quot;MyCell.NumberFormat&quot; in VB.Net always returns french format. Changing the CurrentCulture was the only way I found (after 2 hours) to get the english format.
Thanks again. Hard to find.</description>
		<content:encoded><![CDATA[<p>Besides,<br />
The same lines had a different behavior in VB.Net (with Excel automation) and in VBA (Excel VBA).<br />
&#8220;MyCell.NumberFormat&#8221; in VBA returns english format<br />
&#8220;MyCell.NumberFormat&#8221; in VB.Net always returns french format. Changing the CurrentCulture was the only way I found (after 2 hours) to get the english format.<br />
Thanks again. Hard to find.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentino Vranken</title>
		<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/comment-page-1/#comment-4024</link>
		<dc:creator>Valentino Vranken</dc:creator>
		<pubDate>Mon, 30 Jan 2012 20:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/#comment-4024</guid>
		<description>Glad to hear that blog posts can still be useful, even when they&#039;re more than three years old! :)</description>
		<content:encoded><![CDATA[<p>Glad to hear that blog posts can still be useful, even when they&#8217;re more than three years old! <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephane</title>
		<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/comment-page-1/#comment-4022</link>
		<dc:creator>Stephane</dc:creator>
		<pubDate>Mon, 30 Jan 2012 15:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/#comment-4022</guid>
		<description>Excellent,
This helped me to solve my problem with french version of Excel, when I use the Range&#039;s property NumberFormat (or NumberFormatLocal).
Each Time, NumBerFormat gives the same as NumberFormatLocal, the french Format (with a Date)
If I write this before the new instance of Excel, it works as expected.
System.Threading.Thread.CurrentThread.CurrentCulture = New System.Globalization.CultureInfo(&quot;en-US&quot;)
Thank you very much indeed !</description>
		<content:encoded><![CDATA[<p>Excellent,<br />
This helped me to solve my problem with french version of Excel, when I use the Range&#8217;s property NumberFormat (or NumberFormatLocal).<br />
Each Time, NumBerFormat gives the same as NumberFormatLocal, the french Format (with a Date)<br />
If I write this before the new instance of Excel, it works as expected.<br />
System.Threading.Thread.CurrentThread.CurrentCulture = New System.Globalization.CultureInfo(&#8220;en-US&#8221;)<br />
Thank you very much indeed !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: “Old format or invalid type library” error while working with excel &#187; Programming</title>
		<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/comment-page-1/#comment-3958</link>
		<dc:creator>“Old format or invalid type library” error while working with excel &#187; Programming</dc:creator>
		<pubDate>Wed, 04 Jan 2012 20:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/#comment-3958</guid>
		<description>[...] still the errors came. Finally i found this page Excel Automation: the CultureInfo bug, it told me why there still where errors If you’re doing some Excel automation like creating a [...]</description>
		<content:encoded><![CDATA[<p>[...] still the errors came. Finally i found this page Excel Automation: the CultureInfo bug, it told me why there still where errors If you’re doing some Excel automation like creating a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentino Vranken</title>
		<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/comment-page-1/#comment-2249</link>
		<dc:creator>Valentino Vranken</dc:creator>
		<pubDate>Sat, 13 Mar 2010 14:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/#comment-2249</guid>
		<description>According to the description in the KB article (the Cause chapter) I believe this issue only occurs when using the English version of Excel.  I only have Office in English but if you&#039;ve encountered it using a localized version, I suggest you to add a comment through the KB page.

Regards,
Valentino.</description>
		<content:encoded><![CDATA[<p>According to the description in the KB article (the Cause chapter) I believe this issue only occurs when using the English version of Excel.  I only have Office in English but if you&#8217;ve encountered it using a localized version, I suggest you to add a comment through the KB page.</p>
<p>Regards,<br />
Valentino.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: someguy198650</title>
		<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/comment-page-1/#comment-2244</link>
		<dc:creator>someguy198650</dc:creator>
		<pubDate>Fri, 12 Mar 2010 03:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/#comment-2244</guid>
		<description>What if I set the CurrentThread.CurrentCulture = &quot;en-US&quot; and settings still does not match the installed language of Office (maybe German or Japanese Excel), would it throw another exception?</description>
		<content:encoded><![CDATA[<p>What if I set the CurrentThread.CurrentCulture = &#8220;en-US&#8221; and settings still does not match the installed language of Office (maybe German or Japanese Excel), would it throw another exception?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Developer's Blog &#183; Blog.AgeInYears == 1</title>
		<link>http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/comment-page-1/#comment-1605</link>
		<dc:creator>A Developer's Blog &#183; Blog.AgeInYears == 1</dc:creator>
		<pubDate>Sun, 02 Aug 2009 12:55:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hoegaerden.be/2008/07/27/excel-automation-the-cultureinfo-bug/#comment-1605</guid>
		<description>[...] number three goes to Excel Automation: the CultureInfo bug with close to [...]</description>
		<content:encoded><![CDATA[<p>[...] number three goes to Excel Automation: the CultureInfo bug with close to [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

