<?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: Related Sheets Stack</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Sam</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/#comment-48346</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 27 Jul 2010 14:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2371#comment-48346</guid>
		<description>&lt;p&gt;The &quot;Previous Page&quot; links on tag-archive pages do not work, can you please fix them? Thanks!&lt;/p&gt;
&lt;p&gt;Example:&lt;br&gt;
&lt;a href=&quot;http://www.dailydoseofexcel.com/page/2/?category_name=vba%2Fuserforms-and-controls%2F&quot; rel=&quot;nofollow&quot;&gt;http://www.dailydoseofexcel.com/page/2/?category_name=vba%2Fuserforms-and-controls%2F&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The &#8220;Previous Page&#8221; links on tag-archive pages do not work, can you please fix them? Thanks!</p>
<p>Example:<br />
<a href="http://www.dailydoseofexcel.com/page/2/?category_name=vba%2Fuserforms-and-controls%2F" rel="nofollow">http://www.dailydoseofexcel.com/page/2/?category_name=vba%2Fuserforms-and-controls%2F</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim cone</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/#comment-39138</link>
		<dc:creator>jim cone</dc:creator>
		<pubDate>Fri, 24 Apr 2009 21:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2371#comment-39138</guid>
		<description>&lt;p&gt;Further, further...&lt;br&gt;
I am always a step behind. Maybe this will work:&lt;br&gt;
Replace all instances of  &gt;  with  &quot;&gt;&quot;&lt;br&gt;
&#039;&lt;br&gt;
Jim Cone&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Further, further&#8230;<br />
I am always a step behind. Maybe this will work:<br />
Replace all instances of  &gt;  with  &#8220;&gt;&#8221;<br />
&#8216;<br />
Jim Cone</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim cone</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/#comment-39137</link>
		<dc:creator>jim cone</dc:creator>
		<pubDate>Fri, 24 Apr 2009 21:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2371#comment-39137</guid>
		<description>&lt;p&gt;Further...&lt;br&gt;
I used the code tags but  &quot;&gt;&quot;  appeared in the Scrabble function.&lt;br&gt;
Replace that with the symbol for &quot;Greater than&quot;&lt;br&gt;
&#039;&lt;br&gt;
Jim Cone&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Further&#8230;<br />
I used the code tags but  &#8220;&gt;&#8221;  appeared in the Scrabble function.<br />
Replace that with the symbol for &#8220;Greater than&#8221;<br />
&#8216;<br />
Jim Cone</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim cone</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/#comment-39136</link>
		<dc:creator>jim cone</dc:creator>
		<pubDate>Fri, 24 Apr 2009 21:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2371#comment-39136</guid>
		<description>&lt;p&gt;Dick,&lt;/p&gt;
&lt;p&gt;Maybe an easier way (however it doesn&#039;t account for the sub sheets) is to use the built-in Watch Window.  Double-clicking an item in the Watch window takes you there.  The code does not show the watch window.  Use the built-in button or the Tools &#124; Forumula Auditing menu to do that.&lt;br&gt;
Code goes in the ThisWorkbook module...&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; Workbook_SheetActivate(&lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; Sh &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Object&lt;/span&gt;)&lt;br&gt;
&lt;span class=&quot;co1&quot;&gt;&#039;Jim Cone - Portland, Oregon USA - April 2009&lt;br&gt;
&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; rng() &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; Range&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; N &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; lngCount &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Const&lt;/span&gt; HOW_MANY &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt; = 10&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;On&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Error&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Resume&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt;&lt;br&gt;
lngCount = Application.Watches.Count - 1&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;On&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Error&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;GoTo&lt;/span&gt; 0&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; lngCount &gt; (-1) &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;ReDim&lt;/span&gt; rng(0 &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; lngCount)&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; N = 0 &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; lngCount&lt;br&gt;
&#160;&lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; rng(N) = Application.Watches.Item(N).Source&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;&#039;N&lt;br&gt;
&lt;/span&gt;Application.Watches.Delete&lt;br&gt;
Application.Watches.Add (Sh.Range(&lt;span class=&quot;st0&quot;&gt;&quot;A1&quot;&lt;/span&gt;))&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Scrabble(rng) &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; N = 0 &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;UBound&lt;/span&gt;(rng)&lt;br&gt;
&#160; &#160;Application.Watches.Add rng(N)&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Erase&lt;/span&gt; rng&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Application.Watches.Count &gt; HOW_MANY &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160;Application.Watches.Item(HOW_MANY).Delete&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt; Scrabble(V &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Variant&lt;/span&gt;) &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Boolean&lt;/span&gt;&lt;br&gt;
&#160;&lt;span class=&quot;kw1&quot;&gt;On&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Error&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Resume&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt;&lt;br&gt;
&#160;Scrabble = (&lt;span class=&quot;kw1&quot;&gt;UBound&lt;/span&gt;(V, 1) &gt;= -2147483647) &lt;span class=&quot;co1&quot;&gt;&#039;lower limit for a Long&lt;br&gt;
&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#039;&lt;/p&gt;
&lt;p&gt;Jim Cone&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick,</p>
<p>Maybe an easier way (however it doesn&#8217;t account for the sub sheets) is to use the built-in Watch Window.  Double-clicking an item in the Watch window takes you there.  The code does not show the watch window.  Use the built-in button or the Tools | Forumula Auditing menu to do that.<br />
Code goes in the ThisWorkbook module&#8230;</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Private</span> <span class="kw1">Sub</span> Workbook_SheetActivate(<span class="kw1">ByVal</span> Sh <span class="kw1">As</span> <span class="kw1">Object</span>)<br />
<span class="co1">&#8216;Jim Cone &#8211; Portland, Oregon USA &#8211; April 2009<br />
</span><span class="kw1">Dim</span> rng() <span class="kw1">As</span> Range<br />
<span class="kw1">Dim</span> N <span class="kw1">As</span> <span class="kw1">Long</span><br />
<span class="kw1">Dim</span> lngCount <span class="kw1">As</span> <span class="kw1">Long</span><br />
<span class="kw1">Const</span> HOW_MANY <span class="kw1">As</span> <span class="kw1">Long</span> = 10</p>
<p><span class="kw1">On</span> <span class="kw1">Error</span> <span class="kw1">Resume</span> <span class="kw1">Next</span><br />
lngCount = Application.Watches.Count &#8211; 1<br />
<span class="kw1">On</span> <span class="kw1">Error</span> <span class="kw1">GoTo</span> 0</p>
<p><span class="kw1">If</span> lngCount &amp;gt; (-1) <span class="kw1">Then</span><br />
<span class="kw1">ReDim</span> rng(0 <span class="kw1">To</span> lngCount)<br />
<span class="kw1">End</span> <span class="kw1">If</span></p>
<p><span class="kw1">For</span> N = 0 <span class="kw1">To</span> lngCount<br />
&nbsp;<span class="kw1">Set</span> rng(N) = Application.Watches.Item(N).Source<br />
<span class="kw1">Next</span> <span class="co1">&#8216;N<br />
</span>Application.Watches.Delete<br />
Application.Watches.Add (Sh.Range(<span class="st0">&#8220;A1&#8243;</span>))</p>
<p><span class="kw1">If</span> Scrabble(rng) <span class="kw1">Then</span><br />
<span class="kw1">For</span> N = 0 <span class="kw1">To</span> <span class="kw1">UBound</span>(rng)<br />
&nbsp; &nbsp;Application.Watches.Add rng(N)<br />
<span class="kw1">Next</span><br />
<span class="kw1">Erase</span> rng<br />
<span class="kw1">End</span> <span class="kw1">If</span></p>
<p><span class="kw1">If</span> Application.Watches.Count &amp;gt; HOW_MANY <span class="kw1">Then</span><br />
&nbsp; &nbsp;Application.Watches.Item(HOW_MANY).Delete<br />
<span class="kw1">End</span> <span class="kw1">If</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></p>
<p><span class="kw1">Function</span> Scrabble(V <span class="kw1">As</span> <span class="kw1">Variant</span>) <span class="kw1">As</span> <span class="kw1">Boolean</span><br />
&nbsp;<span class="kw1">On</span> <span class="kw1">Error</span> <span class="kw1">Resume</span> <span class="kw1">Next</span><br />
&nbsp;Scrabble = (<span class="kw1">UBound</span>(V, 1) &amp;gt;= -2147483647) <span class="co1">&#8216;lower limit for a Long<br />
</span><span class="kw1">End</span> <span class="kw1">Function</span></div>
</div>
<p>&#8216;</p>
<p>Jim Cone</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexJ</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/#comment-39134</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Fri, 24 Apr 2009 20:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2371#comment-39134</guid>
		<description>&lt;p&gt;Have you tried using a TreeView control for this?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Have you tried using a TreeView control for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nigel Heffernan</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/#comment-39130</link>
		<dc:creator>Nigel Heffernan</dc:creator>
		<pubDate>Fri, 24 Apr 2009 17:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2371#comment-39130</guid>
		<description>&lt;p&gt;I remember spending a great deal of time trying to get the tab strip on the bottom of an Excel Window to either &#039;double up&#039; into two or more rows, or &#039;dock&#039; to the side, instead of hiding tabs.&lt;/p&gt;
&lt;p&gt;I eventually ended up building a menu (NOT a ribbon!) that dropped down the sheet names.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I remember spending a great deal of time trying to get the tab strip on the bottom of an Excel Window to either &#8216;double up&#8217; into two or more rows, or &#8216;dock&#8217; to the side, instead of hiding tabs.</p>
<p>I eventually ended up building a menu (NOT a ribbon!) that dropped down the sheet names.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbb</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/04/24/related-sheets-stack/#comment-39129</link>
		<dc:creator>dbb</dc:creator>
		<pubDate>Fri, 24 Apr 2009 16:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2371#comment-39129</guid>
		<description>&lt;p&gt;I would probably just have allocated cell A1 in each sheet to hold the sheet list as a list of data validation items, populated when the sheet was selected, and going to a sheet if an item is selected. I find userforms are quite a lot of extra work.&lt;/p&gt;
&lt;p&gt;As far as identifying parentage, I would probably name the sheets in such a way that VBA could run through all the sheets and identify their relationship to the active sheet, just from the names. This makes the code extremely simple and robust.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I would probably just have allocated cell A1 in each sheet to hold the sheet list as a list of data validation items, populated when the sheet was selected, and going to a sheet if an item is selected. I find userforms are quite a lot of extra work.</p>
<p>As far as identifying parentage, I would probably name the sheets in such a way that VBA could run through all the sheets and identify their relationship to the active sheet, just from the names. This makes the code extremely simple and robust.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

