<?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: Reading Excel 2003 and 2007 Files Using OLEDB</title>
	<atom:link href="http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/feed/" rel="self" type="application/rss+xml" />
	<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/</link>
	<description>Resources for webmasters and web developers</description>
	<lastBuildDate>Wed, 21 Jul 2010 13:02:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Sekar</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-6965</link>
		<dc:creator>Sekar</dc:creator>
		<pubDate>Sun, 28 Feb 2010 10:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-6965</guid>
		<description>thanks for the post. Really saved my day</description>
		<content:encoded><![CDATA[<p>thanks for the post. Really saved my day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-6904</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Fri, 26 Feb 2010 11:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-6904</guid>
		<description>Thanks for the Post . works perfectly. Just what I needed in my code.</description>
		<content:encoded><![CDATA[<p>Thanks for the Post . works perfectly. Just what I needed in my code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reading Excel 2003 and 2007 Files Using OLEDB &#171; Basketman&#39;s Blog</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-6749</link>
		<dc:creator>Reading Excel 2003 and 2007 Files Using OLEDB &#171; Basketman&#39;s Blog</dc:creator>
		<pubDate>Mon, 22 Feb 2010 10:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-6749</guid>
		<description>[...] February 22, 2010 by Basketman    http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/ [...]</description>
		<content:encoded><![CDATA[<p>[...] February 22, 2010 by Basketman    <a href="http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/" rel="nofollow">http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Update statement for whole table - Microsoft SQL Server answers</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-5708</link>
		<dc:creator>Update statement for whole table - Microsoft SQL Server answers</dc:creator>
		<pubDate>Thu, 28 Jan 2010 07:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-5708</guid>
		<description>[...] in the Excel file, those can be different each time.  First I read an excel file with this code: http://codehill.com/2009/01/reading-...s-using-oledb/  I change some things in the DataTable and then I want to write to a copy of the first excel file.  [...]</description>
		<content:encoded><![CDATA[<p>[...] in the Excel file, those can be different each time.  First I read an excel file with this code: <a href="http://codehill.com/2009/01/reading-...s-using-oledb/" rel="nofollow">http://codehill.com/2009/01/reading-&#8230;s-using-oledb/</a>  I change some things in the DataTable and then I want to write to a copy of the first excel file.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Maes</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-5661</link>
		<dc:creator>Jonathan Maes</dc:creator>
		<pubDate>Wed, 27 Jan 2010 08:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-5661</guid>
		<description>Hi,
Love you&#039;re article, and I use it for reading .xls and .xlsx files to a dataset.

I tried to turn it around because I want to write also. Do you have some tips? maybe some code :)

Greetz Jonathan</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Love you&#8217;re article, and I use it for reading .xls and .xlsx files to a dataset.</p>
<p>I tried to turn it around because I want to write also. Do you have some tips? maybe some code <img src='http://codehill.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Greetz Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amgad Suliman</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-4207</link>
		<dc:creator>Amgad Suliman</dc:creator>
		<pubDate>Thu, 05 Nov 2009 04:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-4207</guid>
		<description>Hi Peter,
I understand your problem, unfortunately I don&#039;t use Office that much so I don&#039;t know how to solve it. But I hope one of my readers would take the time to answer it.</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
I understand your problem, unfortunately I don&#8217;t use Office that much so I don&#8217;t know how to solve it. But I hope one of my readers would take the time to answer it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peterhs</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-4198</link>
		<dc:creator>Peterhs</dc:creator>
		<pubDate>Mon, 02 Nov 2009 13:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-4198</guid>
		<description>When I read this I see here are people who know a lot more then about locking and connecting problems. Maybe it is “not done” to place my question (sorry), but I’m a little out off options and couldn’t get answers on other forums. If it’s a problem let me know I delete the question.  

We have a Excel 2007 database with information about suppliers. When we make a new document in Word, with mail-merge the information from a supplier is put in the document (it uses ODBC connection).

This worked fine in Office 97, but not anymore in 2007.
*  I like to make the Excel file a template, everyone can see it (excel file made from template) and the original file is good protected against changes. Sadly it is not possible to use a template as a data source in mail merge.
* When I use a xlsx (2007) file and one user mail merge, the excel file is locked for all other users, this doesn’t work.
* When I save the file in “old format” (xls) and give it “read only” it works fine for the users.

The problem with the last solution is with editing the Excel file. When no one is using it (no active mail merge) it can be opened for editing and still others can then mail merge with it. But when someone has then created a open mail merge, the original file (with changes) can’t be saved in Excel.

A year ago I spend a couple of day’s with this problem and asked in forum’s, but no luck. The past year we got more and more frustrated with it, people must stay at work to make changes to the Excel file after working hours. And we are working with XLS for this file, it all sucks.

So I looked at it the last 2 day’s again and tried many things (share, read only, csv, different connection types, etc.) but no luck.

Does anyone have a solution or a hint to solve this problem?

Many thanks

Peter</description>
		<content:encoded><![CDATA[<p>When I read this I see here are people who know a lot more then about locking and connecting problems. Maybe it is “not done” to place my question (sorry), but I’m a little out off options and couldn’t get answers on other forums. If it’s a problem let me know I delete the question.  </p>
<p>We have a Excel 2007 database with information about suppliers. When we make a new document in Word, with mail-merge the information from a supplier is put in the document (it uses ODBC connection).</p>
<p>This worked fine in Office 97, but not anymore in 2007.<br />
*  I like to make the Excel file a template, everyone can see it (excel file made from template) and the original file is good protected against changes. Sadly it is not possible to use a template as a data source in mail merge.<br />
* When I use a xlsx (2007) file and one user mail merge, the excel file is locked for all other users, this doesn’t work.<br />
* When I save the file in “old format” (xls) and give it “read only” it works fine for the users.</p>
<p>The problem with the last solution is with editing the Excel file. When no one is using it (no active mail merge) it can be opened for editing and still others can then mail merge with it. But when someone has then created a open mail merge, the original file (with changes) can’t be saved in Excel.</p>
<p>A year ago I spend a couple of day’s with this problem and asked in forum’s, but no luck. The past year we got more and more frustrated with it, people must stay at work to make changes to the Excel file after working hours. And we are working with XLS for this file, it all sucks.</p>
<p>So I looked at it the last 2 day’s again and tried many things (share, read only, csv, different connection types, etc.) but no luck.</p>
<p>Does anyone have a solution or a hint to solve this problem?</p>
<p>Many thanks</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-4188</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Tue, 13 Oct 2009 16:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-4188</guid>
		<description>This code is most of what I need but would it be possible to take a dataset or worksheet from one and write to a worksheet in another file as a whole unit?  I would like to avoid insert as it would require name value pairs and their is a lot of formatting and images in the orginal.
Thanks,</description>
		<content:encoded><![CDATA[<p>This code is most of what I need but would it be possible to take a dataset or worksheet from one and write to a worksheet in another file as a whole unit?  I would like to avoid insert as it would require name value pairs and their is a lot of formatting and images in the orginal.<br />
Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amgad Suliman</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-4142</link>
		<dc:creator>Amgad Suliman</dc:creator>
		<pubDate>Wed, 07 Oct 2009 21:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-4142</guid>
		<description>Thank YOU Beto for dropping by and commenting</description>
		<content:encoded><![CDATA[<p>Thank YOU Beto for dropping by and commenting</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beto</title>
		<link>http://codehill.com/2009/01/reading-excel-2003-and-2007-files-using-oledb/comment-page-1/#comment-4140</link>
		<dc:creator>Beto</dc:creator>
		<pubDate>Wed, 07 Oct 2009 20:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://codehill.com/?p=372#comment-4140</guid>
		<description>prashant, the posting is missing a string array declaration. Add &quot;String[]&quot; before &quot;workSheetNames[i].

amgad, thanks for the excellent post.
Beto</description>
		<content:encoded><![CDATA[<p>prashant, the posting is missing a string array declaration. Add &#8220;String[]&#8221; before &#8220;workSheetNames[i].</p>
<p>amgad, thanks for the excellent post.<br />
Beto</p>
]]></content:encoded>
	</item>
</channel>
</rss>
