<?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: Edit Excel SpredSheet through PowerShell</title>
	<atom:link href="http://www.powershell.nu/2009/02/05/edit-excel-spredsheet-through-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershell.nu/2009/02/05/edit-excel-spredsheet-through-powershell/</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 15:41:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Mark in Ohio</title>
		<link>http://www.powershell.nu/2009/02/05/edit-excel-spredsheet-through-powershell/comment-page-1/#comment-3984</link>
		<dc:creator>Mark in Ohio</dc:creator>
		<pubDate>Wed, 17 Mar 2010 18:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=400#comment-3984</guid>
		<description>Just wanted to post a quick Thank You!  I was having problems getting Excel to close after saving.
I tried a solution I found elsewhere:  [System.Runtime.Interopservices.Marshal]::ReleaseCOMObject($Excel)
But that didn&#039;t work, so I kept digging.  Your solution worked perfectly.

BTW, I found that I didn&#039;t have to assign a cell to a variable and use Value2 to put data into it.  I&#039;m able to accomplish it just with doing:   $WorkSheet.Cells.Item($Row,1) = &quot;Data2010&quot;

Saves a couple lines of code, and less variables to Null out before closing.</description>
		<content:encoded><![CDATA[<p>Just wanted to post a quick Thank You!  I was having problems getting Excel to close after saving.<br />
I tried a solution I found elsewhere:  [System.Runtime.Interopservices.Marshal]::ReleaseCOMObject($Excel)<br />
But that didn&#8217;t work, so I kept digging.  Your solution worked perfectly.</p>
<p>BTW, I found that I didn&#8217;t have to assign a cell to a variable and use Value2 to put data into it.  I&#8217;m able to accomplish it just with doing:   $WorkSheet.Cells.Item($Row,1) = &#8220;Data2010&#8243;</p>
<p>Saves a couple lines of code, and less variables to Null out before closing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
