<?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: Cleaning Pasted Code</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mister Ians Weblog from Kuwait » Daily Dose of Excel » Blog Archive » Cleaning Pasted Code</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/#comment-21335</link>
		<dc:creator>Mister Ians Weblog from Kuwait » Daily Dose of Excel » Blog Archive » Cleaning Pasted Code</dc:creator>
		<pubDate>Tue, 24 Oct 2006 20:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1530#comment-21335</guid>
		<description>&lt;p&gt;[...] Daily Dose of Excel » Blog Archive » Cleaning Pasted Code [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Daily Dose of Excel » Blog Archive » Cleaning Pasted Code [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/#comment-21299</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Wed, 18 Oct 2006 18:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1530#comment-21299</guid>
		<description>&lt;p&gt;Good guess Alderaic.  I don&#039;t know how the code gets into Word.  Not all of the code has screwed up qutoes, but it&#039;s pretty easy to tell which does and which doesn&#039;t.  I assumed it was a curly quote autocorrect thing, but John&#039;s experiments seem to dispell that theory.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good guess Alderaic.  I don&#8217;t know how the code gets into Word.  Not all of the code has screwed up qutoes, but it&#8217;s pretty easy to tell which does and which doesn&#8217;t.  I assumed it was a curly quote autocorrect thing, but John&#8217;s experiments seem to dispell that theory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alderaic</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/#comment-21298</link>
		<dc:creator>Alderaic</dc:creator>
		<pubDate>Wed, 18 Oct 2006 17:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1530#comment-21298</guid>
		<description>&lt;p&gt;I assume all that is related to writing books ;)&lt;/p&gt;
&lt;p&gt;my personnal way to store procedures etc.. is to use scite, it works just fine and doesnt add any fancy things (but still recognize syntax etc...), and save as txt file&lt;/p&gt;
&lt;p&gt;(I say that because I assume that your code is coming from a vb editor first then goes into word and back into a vb editor, I would not imagine writing code straight into word)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I assume all that is related to writing books <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>my personnal way to store procedures etc.. is to use scite, it works just fine and doesnt add any fancy things (but still recognize syntax etc&#8230;), and save as txt file</p>
<p>(I say that because I assume that your code is coming from a vb editor first then goes into word and back into a vb editor, I would not imagine writing code straight into word)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Pablo Gonzalez</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/#comment-21296</link>
		<dc:creator>Juan Pablo Gonzalez</dc:creator>
		<pubDate>Wed, 18 Oct 2006 15:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1530#comment-21296</guid>
		<description>&lt;p&gt;I would include Chr(160) as well ? (replace it with Chr(32)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I would include Chr(160) as well ? (replace it with Chr(32)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Walkenbach</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/#comment-21295</link>
		<dc:creator>John Walkenbach</dc:creator>
		<pubDate>Wed, 18 Oct 2006 14:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1530#comment-21295</guid>
		<description>&lt;p&gt;That&#039;s strange, I don&#039;t have a problem with pasting from Word. Even if I turn on the smart quotes option in Word, (using Tools - AutoCorrect - AutoFormat As You Type), those funky quotes are converted to normal quotes when I paste into a VBA module.&lt;/p&gt;
&lt;p&gt;I wonder what causes the difference?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That&#8217;s strange, I don&#8217;t have a problem with pasting from Word. Even if I turn on the smart quotes option in Word, (using Tools &#8211; AutoCorrect &#8211; AutoFormat As You Type), those funky quotes are converted to normal quotes when I paste into a VBA module.</p>
<p>I wonder what causes the difference?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/17/cleaning-pasted-code/#comment-21293</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Wed, 18 Oct 2006 04:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1530#comment-21293</guid>
		<description>&lt;p&gt;Don&#039;t forget 145:&lt;/p&gt;
&lt;p&gt;sCode = Replace$(sCode, Chr$(145), Chr$(39))&lt;/p&gt;
&lt;p&gt;145 and 146 are the curly open and close single quotes. 147 and 148 are the corresponding double quotes.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Don&#8217;t forget 145:</p>
<p>sCode = Replace$(sCode, Chr$(145), Chr$(39))</p>
<p>145 and 146 are the curly open and close single quotes. 147 and 148 are the corresponding double quotes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

