<?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: Replacing text in Word documents through PowerShell</title>
	<atom:link href="http://www.powershell.nu/2009/02/05/replacing-text-in-word-documents-through-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershell.nu/2009/02/05/replacing-text-in-word-documents-through-powershell/</link>
	<description>Windows PowerShell</description>
	<lastBuildDate>Fri, 03 Feb 2012 09:00:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Siva</title>
		<link>http://www.powershell.nu/2009/02/05/replacing-text-in-word-documents-through-powershell/comment-page-1/#comment-9740</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Mon, 23 Jan 2012 05:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=413#comment-9740</guid>
		<description>I am getting the following error when I tried to replace a string. Basically I am trying to replace a string with a value( it has 15 to 20 lines of statements)


Exception calling &quot;Execute&quot; with &quot;11&quot; argument(s): &quot;String parameter too long.&quot;
At C:\local\powershell\File1.ps1:24 char:25
+     $Selection.Find.Execute &lt;&lt;&lt;&lt; (
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation</description>
		<content:encoded><![CDATA[<p>I am getting the following error when I tried to replace a string. Basically I am trying to replace a string with a value( it has 15 to 20 lines of statements)</p>
<p>Exception calling &#8220;Execute&#8221; with &#8220;11&#8243; argument(s): &#8220;String parameter too long.&#8221;<br />
At C:\local\powershell\File1.ps1:24 char:25<br />
+     $Selection.Find.Execute &lt;&lt;&lt;&lt; (<br />
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException<br />
    + FullyQualifiedErrorId : ComMethodTargetInvocation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niklas Goude</title>
		<link>http://www.powershell.nu/2009/02/05/replacing-text-in-word-documents-through-powershell/comment-page-1/#comment-1096</link>
		<dc:creator>Niklas Goude</dc:creator>
		<pubDate>Sun, 15 Mar 2009 22:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=413#comment-1096</guid>
		<description>Hi.

I wrote a new post regarding the Scenario that you described. I hope you find it useful. Though I recommend that you take a backup of your documents before testing, since I&#039;ve only tested the script on &quot;Test&quot; documents.

Regards

Goude</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I wrote a new post regarding the Scenario that you described. I hope you find it useful. Though I recommend that you take a backup of your documents before testing, since I&#8217;ve only tested the script on &#8220;Test&#8221; documents.</p>
<p>Regards</p>
<p>Goude</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dmtelf</title>
		<link>http://www.powershell.nu/2009/02/05/replacing-text-in-word-documents-through-powershell/comment-page-1/#comment-1081</link>
		<dc:creator>dmtelf</dc:creator>
		<pubDate>Wed, 11 Mar 2009 11:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=413#comment-1081</guid>
		<description>This is a very handy script! :-)

Is it possible to insert a page-break in a Word document using PowerShell after e.g. the end of a paragraph?</description>
		<content:encoded><![CDATA[<p>This is a very handy script! <img src='http://www.powershell.nu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Is it possible to insert a page-break in a Word document using PowerShell after e.g. the end of a paragraph?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krisitan Nagel</title>
		<link>http://www.powershell.nu/2009/02/05/replacing-text-in-word-documents-through-powershell/comment-page-1/#comment-8</link>
		<dc:creator>Krisitan Nagel</dc:creator>
		<pubDate>Fri, 06 Feb 2009 08:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=413#comment-8</guid>
		<description>Thanks Niklas, this was indeed really useful!</description>
		<content:encoded><![CDATA[<p>Thanks Niklas, this was indeed really useful!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

