<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Mind Leaks &#187; Fix-it</title>
	<atom:link href="http://www.mymindleaks.com/blog/archives/tag/fix-it/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mymindleaks.com/blog</link>
	<description>Software, Programming, Architecture &#38; More</description>
	<lastBuildDate>Sun, 11 Jul 2010 05:06:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fix for &#8220;Code execution has been interrupted&#8221; in Excel vba macros.</title>
		<link>http://www.mymindleaks.com/blog/archives/fix-for-code-execution-has-been-interrupted-in-excel-vba-macros.html</link>
		<comments>http://www.mymindleaks.com/blog/archives/fix-for-code-execution-has-been-interrupted-in-excel-vba-macros.html#comments</comments>
		<pubDate>Fri, 27 Feb 2009 02:21:20 +0000</pubDate>
		<dc:creator>Maheshwaran Subramaniya</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code execution]]></category>
		<category><![CDATA[excel vba macros]]></category>
		<category><![CDATA[Fix-it]]></category>
		<category><![CDATA[installation key]]></category>
		<category><![CDATA[Know-It]]></category>
		<category><![CDATA[microsoft excel]]></category>

		<guid isPermaLink="false">http://mymindleaks.com/?p=354</guid>
		<description><![CDATA[In excel, while executing macros you may get the error message &#8220;code execution has been interrupted&#8221;. Generally this error message should appear only if you hit &#8220;Ctrl +Break&#8221; to stop the execution and view the code. But there may be certain instances, where you may get this error message even without pressing &#8220;Ctrl + Break&#8221;. If you [...]]]></description>
			<content:encoded><![CDATA[<p>In excel, while executing macros you may get the error message &#8220;code execution has been interrupted&#8221;. Generally this error message should appear only if you hit &#8220;Ctrl +Break&#8221; to stop the execution and view the code. But there may be certain instances, where you may get this error message even without pressing &#8220;Ctrl + Break&#8221;. If you hit &#8220;Continue&#8221; button, the code will execute for a while but again you may get the same error message. At one point of time, you may need to click &#8220;continue&#8221; button many times to execute a macro. There may be plent of reasons behind it like new software installation, key settings etc..</p>
<p>Problem Solution:</p>
<p>The solution for this problem is to add the line of code &#8220;Application.EnableCancelKey = xlDisabled&#8221;  in the first line of your macro.. This will fix the problem and you will be able to execute the macro successfully without getting the error message &#8220;Code execution has been interrupted&#8221;.</p>
<p>Thanks: This tip is given by one of my collegue Vijayaragavan..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mymindleaks.com/blog/archives/fix-for-code-execution-has-been-interrupted-in-excel-vba-macros.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
