<?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: Work Breakdown Structure Numbering in Excel</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/</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: work breakdown structure</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-67467</link>
		<dc:creator>work breakdown structure</dc:creator>
		<pubDate>Tue, 01 Nov 2011 03:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-67467</guid>
		<description>&lt;p&gt;Here is a good work breakdown structure example, not in excel but in a visual representation.   The key is to breakdown the work/project into manageable activities and tasks.  &lt;a href=&quot;http://ygraph.com/chart/1430&quot; rel=&quot;nofollow&quot;&gt;http://ygraph.com/chart/1430&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here is a good work breakdown structure example, not in excel but in a visual representation.   The key is to breakdown the work/project into manageable activities and tasks.  <a href="http://ygraph.com/chart/1430" rel="nofollow">http://ygraph.com/chart/1430</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Pfluger</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-47899</link>
		<dc:creator>Matthew Pfluger</dc:creator>
		<pubDate>Tue, 13 Jul 2010 14:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-47899</guid>
		<description>&lt;p&gt;@mlewis, send me an email at p&#124;f&#124;l&#124;u&#124;g&#124;s&#124;3&#124;0@gmail.com, and I&#039;ll send you an example file with full source code.&lt;/p&gt;
&lt;p&gt;Matthew&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@mlewis, send me an email at p|f|l|u|g|s|3|0@gmail.com, and I&#8217;ll send you an example file with full source code.</p>
<p>Matthew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mlewis</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-47279</link>
		<dc:creator>mlewis</dc:creator>
		<pubDate>Wed, 23 Jun 2010 21:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-47279</guid>
		<description>&lt;p&gt;I am a newbie to building functions and macros for Excel, and for that matter VB.  Could you please give me an example of the parameter values for (ByVal lLevelCol As Integer, ByVal lStartRow As Long)?  I am a bit confused.  For the example above, would lLvelCol be 1 and lStartRow be 2?  When I attempt to run this I am getting some really strange values.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am a newbie to building functions and macros for Excel, and for that matter VB.  Could you please give me an example of the parameter values for (ByVal lLevelCol As Integer, ByVal lStartRow As Long)?  I am a bit confused.  For the example above, would lLvelCol be 1 and lStartRow be 2?  When I attempt to run this I am getting some really strange values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Pfluger</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-45679</link>
		<dc:creator>Matthew Pfluger</dc:creator>
		<pubDate>Fri, 30 Apr 2010 19:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-45679</guid>
		<description>&lt;p&gt;The hyperlinks is a neat idea.  If you&#039;re going to do that, I would not use a FIND function, though.  That has the tendency to be very slow, especially for large datasets.  I would instead give each row a unique integer ID value and then create a &quot;ParentID&quot; column to store the ID value of the row&#039;s parent.  Then, you can replace the FIND function with an index function like INDEX or OFFSET which will calculate much faster and scale quite nicely.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The hyperlinks is a neat idea.  If you&#8217;re going to do that, I would not use a FIND function, though.  That has the tendency to be very slow, especially for large datasets.  I would instead give each row a unique integer ID value and then create a &#8220;ParentID&#8221; column to store the ID value of the row&#8217;s parent.  Then, you can replace the FIND function with an index function like INDEX or OFFSET which will calculate much faster and scale quite nicely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lhm</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-45674</link>
		<dc:creator>lhm</dc:creator>
		<pubDate>Fri, 30 Apr 2010 18:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-45674</guid>
		<description>&lt;p&gt;Being lazy, I do most ad hoc stuff from the immediate window and tweak it as needed.&lt;br&gt;
This means just entering commands without setting up any code modules.&lt;/p&gt;
&lt;p&gt;Suppose you&#039;ve got a list of outline or indentation levels, as Matthew described.&lt;br&gt;
For the posted example this would be 0,1,2,2,1,2,2,2,0 down a column.&lt;/p&gt;
&lt;p&gt;To create the outline, you could select the range and enter from the VBE:&lt;/p&gt;
&lt;p&gt;Cells.ClearOutline: ActiveSheet.Outline.SummaryRow = xlabove: _&lt;br&gt;
For each c in selection:For i=1 to c:c.entirerow.group:Next i:Next c&lt;/p&gt;
&lt;p&gt;If it needs to run faster you could try (with 8 = maximum outline level):&lt;/p&gt;
&lt;p&gt;For i=1 to 8: selection.columndifferences(activecell).select: _&lt;br&gt;
For each a in selection.areas:a.entirerow.group:Next a:Next i&lt;/p&gt;
&lt;p&gt;Another useful thing is to link cells to parent rows. With the first column selected, try:&lt;/p&gt;
&lt;p&gt;for each c in selection.columndifferences(activecell): c.formula= _&lt;br&gt;
&quot;=Hyperlink(&quot;&quot;#A&quot;&quot;&amp;row(&quot; &amp; selection.find(c-1,c,xlvalues,,,xlprevious).entirerow.address &amp; &quot;),&quot; &amp; c &amp; &quot;)&quot;: next c&lt;/p&gt;
&lt;p&gt;Now you can trace dependencies with ctrl+[ and ] or Ctrl+Shift+{ and }&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Being lazy, I do most ad hoc stuff from the immediate window and tweak it as needed.<br />
This means just entering commands without setting up any code modules.</p>
<p>Suppose you&#8217;ve got a list of outline or indentation levels, as Matthew described.<br />
For the posted example this would be 0,1,2,2,1,2,2,2,0 down a column.</p>
<p>To create the outline, you could select the range and enter from the VBE:</p>
<p>Cells.ClearOutline: ActiveSheet.Outline.SummaryRow = xlabove: _<br />
For each c in selection:For i=1 to c:c.entirerow.group:Next i:Next c</p>
<p>If it needs to run faster you could try (with 8 = maximum outline level):</p>
<p>For i=1 to 8: selection.columndifferences(activecell).select: _<br />
For each a in selection.areas:a.entirerow.group:Next a:Next i</p>
<p>Another useful thing is to link cells to parent rows. With the first column selected, try:</p>
<p>for each c in selection.columndifferences(activecell): c.formula= _<br />
&#8220;=Hyperlink(&#8220;&#8221;#A&#8221;"&amp;row(&#8221; &amp; selection.find(c-1,c,xlvalues,,,xlprevious).entirerow.address &amp; &#8220;),&#8221; &amp; c &amp; &#8220;)&#8221;: next c</p>
<p>Now you can trace dependencies with ctrl+[ and ] or Ctrl+Shift+{ and }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Pfluger</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-45595</link>
		<dc:creator>Matthew Pfluger</dc:creator>
		<pubDate>Wed, 28 Apr 2010 21:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-45595</guid>
		<description>&lt;p&gt;Update: I&#039;ve had a lot of interest in this code, and I&#039;m glad it&#039;s helping folks out.  I would like to clarify that the code doesn&#039;t look at the WBS code to do the outlining; rather, it requires a numeric level value to group on.  That is, &quot;1? has a level of 0, but &quot;1.2.1.4? has a level of 4.  You can calculate the Level from a WBS that uses a period (.) as its delimiter by using the following Excel formula:&lt;/p&gt;
&lt;p&gt;=LEN(B1)-LEN(SUBSTITUTE(B1,&quot;.&quot;,&quot;&quot;))&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Update: I&#8217;ve had a lot of interest in this code, and I&#8217;m glad it&#8217;s helping folks out.  I would like to clarify that the code doesn&#8217;t look at the WBS code to do the outlining; rather, it requires a numeric level value to group on.  That is, &#8220;1? has a level of 0, but &#8220;1.2.1.4? has a level of 4.  You can calculate the Level from a WBS that uses a period (.) as its delimiter by using the following Excel formula:</p>
<p>=LEN(B1)-LEN(SUBSTITUTE(B1,&#8221;.&#8221;,&#8221;"))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Pfluger</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-45380</link>
		<dc:creator>Matthew Pfluger</dc:creator>
		<pubDate>Mon, 19 Apr 2010 16:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-45380</guid>
		<description>&lt;p&gt;Since I made that post last year, I&#039;ve modified the code to make it faster and more robust.  I&#039;ve created an example workbook that contains all the outlining VBA code.  I also included buttons and comments to help you debug the code and help learn how to use it and how it works.  If anyone would like a copy, please email me at pflugs30{@] gmail (dot] com.&lt;/p&gt;
&lt;p&gt;I use this code nearly 10 times a day to outline Bill of Materials data, and several of these workbooks contain thousands of rows.  This outlining code is fast, robust, and well tested in both Excel 2003 and 2007.  I hope it helps you, too.  Have a great day!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Since I made that post last year, I&#8217;ve modified the code to make it faster and more robust.  I&#8217;ve created an example workbook that contains all the outlining VBA code.  I also included buttons and comments to help you debug the code and help learn how to use it and how it works.  If anyone would like a copy, please email me at pflugs30{@] gmail (dot] com.</p>
<p>I use this code nearly 10 times a day to outline Bill of Materials data, and several of these workbooks contain thousands of rows.  This outlining code is fast, robust, and well tested in both Excel 2003 and 2007.  I hope it helps you, too.  Have a great day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-45363</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Mon, 19 Apr 2010 02:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-45363</guid>
		<description>&lt;p&gt;Sergio: I switched to a better code rendering plugin for comments, but Matthew&#039;s comments was before the switch.  I just cleaned up the escape characters in his comment so you should be able to copy and paste it successfully now.  Sorry for the inconvenience.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sergio: I switched to a better code rendering plugin for comments, but Matthew&#8217;s comments was before the switch.  I just cleaned up the escape characters in his comment so you should be able to copy and paste it successfully now.  Sorry for the inconvenience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-45353</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 18 Apr 2010 20:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-45353</guid>
		<description>&lt;p&gt;Hi Matthew,&lt;/p&gt;
&lt;p&gt;Thank you very much for sharing your WBS outlining code (I&#039;m sure this is especially appreciated by those of us who are relatively new to VBA)! I know this is an old thread and perhaps you wont know about comments made today, but I thought it worth a try.&lt;/p&gt;
&lt;p&gt;I too had problems pasting this into a standard code module. It seems that there are extra characters in the paste above (i.e. &quot;&gt;&quot; in the first Do Loop &quot;Do Until (lStartRow &gt;= lNumOfRows)&quot; &amp; &quot;&amp;amp&quot; in the MsgBox calls). I don&#039;t see &quot;gt&quot; or &quot;amp&quot; as declared variables, so I am assuming these are simply pasting errors. And when I remove these characters in the editor, the code will compile. However, as documented in your developers comments, you moved function &quot;ResetLastCell&quot; to make it a separate function called by function RemoveOutlining (shown at the bottom of the pasted code above). Would you be so kind as to please provide the function &quot;ResetLastCell&quot; too. Of course, this would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;If my assumption about removing characters &quot;&gt;&quot; &amp; &quot;amp&quot; above was incorrect, it would be nice if you could post (or email me, if you prefer) an example workbook with this code working. Having a working WBS outline in Excel would make my work life a lot easier and would give me another useful VBA example to study and learn from.&lt;/p&gt;
&lt;p&gt;Take care and best of everything,&lt;br&gt;
Mike&lt;br&gt;
&lt;a href=&quot;mailto:jaden123451@hotmail.com&quot;&gt;jaden123451@hotmail.com&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Matthew,</p>
<p>Thank you very much for sharing your WBS outlining code (I&#8217;m sure this is especially appreciated by those of us who are relatively new to VBA)! I know this is an old thread and perhaps you wont know about comments made today, but I thought it worth a try.</p>
<p>I too had problems pasting this into a standard code module. It seems that there are extra characters in the paste above (i.e. &#8220;&gt;&#8221; in the first Do Loop &#8220;Do Until (lStartRow &gt;= lNumOfRows)&#8221; &amp; &#8220;&amp;amp&#8221; in the MsgBox calls). I don&#8217;t see &#8220;gt&#8221; or &#8220;amp&#8221; as declared variables, so I am assuming these are simply pasting errors. And when I remove these characters in the editor, the code will compile. However, as documented in your developers comments, you moved function &#8220;ResetLastCell&#8221; to make it a separate function called by function RemoveOutlining (shown at the bottom of the pasted code above). Would you be so kind as to please provide the function &#8220;ResetLastCell&#8221; too. Of course, this would be greatly appreciated.</p>
<p>If my assumption about removing characters &#8220;&gt;&#8221; &amp; &#8220;amp&#8221; above was incorrect, it would be nice if you could post (or email me, if you prefer) an example workbook with this code working. Having a working WBS outline in Excel would make my work life a lot easier and would give me another useful VBA example to study and learn from.</p>
<p>Take care and best of everything,<br />
Mike<br />
<a href="mailto:jaden123451@hotmail.com">jaden123451@hotmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergio Handal</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/06/10/work-breakdown-structure-numbering-in-excel/#comment-40248</link>
		<dc:creator>Sergio Handal</dc:creator>
		<pubDate>Wed, 15 Jul 2009 16:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2563#comment-40248</guid>
		<description>&lt;p&gt;Hi Matthew,&lt;/p&gt;
&lt;p&gt;The code looks amazing and is just what I was searching for.&lt;br&gt;
The only problem I have is when i paste it to my excel VBA editor it comes with a lot of &quot;Pasting Problems&quot; It shows syntax errors.&lt;/p&gt;
&lt;p&gt;I would like to ask you pleas if you can send me an excel file with the code inside working already. My e-mail is: &lt;a href=&quot;mailto:catuso.shz@gmail.com&quot;&gt;catuso.shz@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I will appreciate a lot all your help. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;br&gt;
Sergio.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Matthew,</p>
<p>The code looks amazing and is just what I was searching for.<br />
The only problem I have is when i paste it to my excel VBA editor it comes with a lot of &#8220;Pasting Problems&#8221; It shows syntax errors.</p>
<p>I would like to ask you pleas if you can send me an excel file with the code inside working already. My e-mail is: <a href="mailto:catuso.shz@gmail.com">catuso.shz@gmail.com</a></p>
<p>I will appreciate a lot all your help. </p>
<p>Best regards,<br />
Sergio.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

