<?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: Insert a Page Break in a Word Document using PowerShell</title>
	<atom:link href="http://www.powershell.nu/2009/03/15/insert-a-page-break-in-a-word-document-using-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershell.nu/2009/03/15/insert-a-page-break-in-a-word-document-using-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/03/15/insert-a-page-break-in-a-word-document-using-powershell/comment-page-1/#comment-9743</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Wed, 25 Jan 2012 06:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?p=557#comment-9743</guid>
		<description>Hi,

I am getting the following error, when I tried to replace a string using the above code. I am trying a replace a variable with value ( which has around 20 lines). Any suggestion. Could you please let me what is the above code ?(.Net or VBA etc)

PS C:\&gt; C:\local\Powershell\File1.ps1
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;</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am getting the following error, when I tried to replace a string using the above code. I am trying a replace a variable with value ( which has around 20 lines). Any suggestion. Could you please let me what is the above code ?(.Net or VBA etc)</p>
<p>PS C:\&gt; C:\local\Powershell\File1.ps1<br />
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;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

