<?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>Projects Possible &#187; coding</title>
	<atom:link href="http://www.projectspossible.com/tag/coding/feed" rel="self" type="application/rss+xml" />
	<link>http://www.projectspossible.com</link>
	<description>For the things I WORK on, PONDER, and ENJOY!</description>
	<lastBuildDate>Sat, 10 Jul 2010 14:48:50 +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>Random Phrase Popup in Excel</title>
		<link>http://www.projectspossible.com/random-phrase-popup-in-excel</link>
		<comments>http://www.projectspossible.com/random-phrase-popup-in-excel#comments</comments>
		<pubDate>Wed, 03 Dec 2008 17:29:16 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[Office Tools]]></category>
		<category><![CDATA[Professional]]></category>
		<category><![CDATA[Work On]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[motivation]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://www.projectspossible.com/random-phrase-popup-in-excel</guid>
		<description><![CDATA[I use a pretty large Excel Workbook every day in my job.  I thought it might be nice to have a &#8220;motivational&#8221; phrase show each time the workbook was opened.  Something to start the day out on the right foot. In my workbook I created a worksheet called phrases that simply consist of a motivational [...]]]></description>
			<content:encoded><![CDATA[<center><script type="text/javascript"><!--
google_ad_client = "pub-2222538870875344";
/* Posts */
google_ad_slot = "9580214343";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>	<p><a title="Photo courtesy of: tinyfroglet" href="http://flickr.com/photos/tinyfroglet/2316312085/" target="_blank"><img style="border-right: 0px; border-top: 0px; margin: 5px 10px 5px 5px; border-left: 0px; border-bottom: 0px" src="http://www.projectspossible.com/wp-content/uploads/2008/12/photos-tinyfroglet-2316312085.jpg" border="0" alt="photos_tinyfroglet_2316312085" width="131" height="186" align="left" /></a> I use a pretty large Excel Workbook every day in my job.  I thought it might be nice to have a &#8220;motivational&#8221; phrase show each time the workbook was opened.  Something to start the day out on the right foot.</p>
	<p>In my workbook I created a worksheet called phrases that simply consist of a motivational phrase on each row.  You can have as many of them as you want.  I then went into the VBA Editor (Alt+F11) and inserted this little snippet of code into &#8220;This Wookbook&#8221;.  Now each time I open the workbook I get a random phrase off of my phrases worksheet.</p>
	<p> </p>
	<p>Photo courtesy of: tinyfroglet</p>
	<blockquote><p>Private Sub Workbook_Open()</p>
	<p>   Dim MyValue</p>
	<p>      With Worksheets(&#8220;PHRASES&#8221;)</p>
	<p>         LR = .Cells(.Rows.Count, &#8220;A&#8221;).End(xlUp).Row</p>
	<p>         Randomize</p>
	<p>         MyValue = Int((LR * Rnd) + 1)</p>
	<p>         MsgBox (.Cells(MyValue, &#8220;A&#8221;)), vbOKOnly, &#8220;Thought of the Day&#8221;</p>
	<p>      End With</p>
	<p>End Sub</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.projectspossible.com/random-phrase-popup-in-excel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
