<?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: Functions that do things</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/12/22/functions-that-do-things/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/12/22/functions-that-do-things/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:03:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Monty</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/22/functions-that-do-things/#comment-4025</link>
		<dc:creator>Monty</dc:creator>
		<pubDate>Sun, 02 Jan 2005 13:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=955#comment-4025</guid>
		<description>&lt;p&gt;If I have the following formula in a worksheet to bring up a message box &lt;/p&gt;
&lt;p&gt;=IF((F4-E4)&gt;=15,PromptPayment()+F4-E4,F4-E4) &lt;/p&gt;
&lt;p&gt;How can I use a function to transfer some information from different cells to a new worksheet&lt;br&gt;
if the formula above works?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If I have the following formula in a worksheet to bring up a message box </p>
<p>=IF((F4-E4)&gt;=15,PromptPayment()+F4-E4,F4-E4) </p>
<p>How can I use a function to transfer some information from different cells to a new worksheet<br />
if the formula above works?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Bullen</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/22/functions-that-do-things/#comment-3055</link>
		<dc:creator>Stephen Bullen</dc:creator>
		<pubDate>Thu, 23 Dec 2004 10:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=955#comment-3055</guid>
		<description>&lt;p&gt;Frank: Yes, there are lots of &#039;neat tricks&#039; in the book, though not this one. We had to draw the line somewhere (we do show how to add parameter help texts to UDFs for the Function Wizard, though!). Switching off events doesn&#039;t prevent the recursion in this case, as Excel just schedules the calcuations to happen serially instead.&lt;/p&gt;
&lt;p&gt;JK: That&#039;s a good thing to include if you need to do something that will cause continuous recalcs, thanks.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Stephen Bullen&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Frank: Yes, there are lots of &#8216;neat tricks&#8217; in the book, though not this one. We had to draw the line somewhere (we do show how to add parameter help texts to UDFs for the Function Wizard, though!). Switching off events doesn&#8217;t prevent the recursion in this case, as Excel just schedules the calcuations to happen serially instead.</p>
<p>JK: That&#8217;s a good thing to include if you need to do something that will cause continuous recalcs, thanks.</p>
<p>Regards</p>
<p>Stephen Bullen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkpieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/22/functions-that-do-things/#comment-3049</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Wed, 22 Dec 2004 20:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=955#comment-3049</guid>
		<description>&lt;p&gt;Neat trick Stephen.&lt;/p&gt;
&lt;p&gt;Maybe good to include a static boolean in the calc event to avoid recursion:&lt;/p&gt;
&lt;p&gt;Private Sub Workbook_SheetCalculate(ByVal Sh As Object)&lt;br&gt;
Static bNoCalc as Boolean&lt;br&gt;
If bNoCalc Then Exit Sub&lt;br&gt;
bNoCalc=True&lt;br&gt;
&#039;....&lt;br&gt;
&#039;....&lt;br&gt;
bNoCalc=False&lt;br&gt;
End Sub&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Neat trick Stephen.</p>
<p>Maybe good to include a static boolean in the calc event to avoid recursion:</p>
<p>Private Sub Workbook_SheetCalculate(ByVal Sh As Object)<br />
Static bNoCalc as Boolean<br />
If bNoCalc Then Exit Sub<br />
bNoCalc=True<br />
&#8216;&#8230;.<br />
&#8216;&#8230;.<br />
bNoCalc=False<br />
End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Kabel</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/22/functions-that-do-things/#comment-3048</link>
		<dc:creator>Frank Kabel</dc:creator>
		<pubDate>Wed, 22 Dec 2004 17:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=955#comment-3048</guid>
		<description>&lt;p&gt;Hi Stephen&lt;br&gt;
nice trick. If such tricks are part of your next book I&#039;m even more looking forward getting it&lt;br&gt;
:-)&lt;/p&gt;
&lt;p&gt;Re: &quot;The only caveat with this technique is that the tasks to perform shouldn&#039;t trigger another recalc&quot;&lt;br&gt;
Not testes but would disabling application events solve this caveat. Probably would do this anyway in the sheet calculate event&lt;/p&gt;
&lt;p&gt;Re: &quot;user-defined-functions (UDFs) can&#039;t do anything&quot;&lt;br&gt;
IITC you can change/add comments within a UDF&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Stephen<br />
nice trick. If such tricks are part of your next book I&#8217;m even more looking forward getting it<br /> <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Re: &#8220;The only caveat with this technique is that the tasks to perform shouldn&#8217;t trigger another recalc&#8221;<br />
Not testes but would disabling application events solve this caveat. Probably would do this anyway in the sheet calculate event</p>
<p>Re: &#8220;user-defined-functions (UDFs) can&#8217;t do anything&#8221;<br />
IITC you can change/add comments within a UDF</p>
<p>Frank</p>
]]></content:encoded>
	</item>
</channel>
</rss>

