<?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: Two website additions: Properties in a standard module and a chapter on Names and Formula formatting</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/</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: jkpieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21464</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Fri, 03 Nov 2006 11:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21464</guid>
		<description>&lt;p&gt;Tushar: &quot;It will be an add-in that lists all the names in a workbook&quot;&lt;/p&gt;
&lt;p&gt;Wouldn&#039;t it be simpler to just refer to my Name Manager?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.jkp-ads.com/OfficeMarketPlaceNM-en.asp&quot; rel=&quot;nofollow&quot;&gt;http://www.jkp-ads.com/OfficeMarketPlaceNM-en.asp&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tushar: &#8220;It will be an add-in that lists all the names in a workbook&#8221;</p>
<p>Wouldn&#8217;t it be simpler to just refer to my Name Manager?</p>
<p><a href="http://www.jkp-ads.com/OfficeMarketPlaceNM-en.asp" rel="nofollow">http://www.jkp-ads.com/OfficeMarketPlaceNM-en.asp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21434</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Tue, 31 Oct 2006 21:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21434</guid>
		<description>&lt;p&gt;Tushar: please e-mail me your formula and a brief description of what you expected to see.&lt;br&gt;
rob@ vangelder.co.nz&lt;br&gt;
I&#039;m not aware of any formulas it cannot handle.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tushar: please e-mail me your formula and a brief description of what you expected to see.<br />
rob@ vangelder.co.nz<br />
I&#8217;m not aware of any formulas it cannot handle.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex J</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21430</link>
		<dc:creator>Alex J</dc:creator>
		<pubDate>Tue, 31 Oct 2006 20:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21430</guid>
		<description>&lt;p&gt;TM,&lt;br&gt;
Thanks for the great reply. I&#039;m not having much luck finding that item on Chip&#039;s site, though.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>TM,<br />
Thanks for the great reply. I&#8217;m not having much luck finding that item on Chip&#8217;s site, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21426</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 31 Oct 2006 12:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21426</guid>
		<description>&lt;p&gt;T M, you are absolutely right.  My ramble was unclear and vague.&lt;br&gt;
My intentions were to show that class modules are easy to use and that its a good idea to find a reason to use one.  Also that people have already been using them for some time in the form or forms :-), which presumably they design and instanciate all the time.  &lt;/p&gt;
&lt;p&gt;I haven&#039;t ever tried to use property proc in a normal module, I didn&#039;t know they existed but to be honest I am not quite sure why I would use them, as its the same as a function with a static variable, and an optional parameter,(which have the added benefit of less module level variables and procedures, or even less modules as you don&#039;t need to setup a specific option private module).&lt;/p&gt;
&lt;p&gt;Also it might be worth considering the use of Enum to allow easy access to specific group of constants for example like the primary colours in Tushars interesting example.  &lt;/p&gt;
&lt;p&gt;Nice form Ross cute demo.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>T M, you are absolutely right.  My ramble was unclear and vague.<br />
My intentions were to show that class modules are easy to use and that its a good idea to find a reason to use one.  Also that people have already been using them for some time in the form or forms <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , which presumably they design and instanciate all the time.  </p>
<p>I haven&#8217;t ever tried to use property proc in a normal module, I didn&#8217;t know they existed but to be honest I am not quite sure why I would use them, as its the same as a function with a static variable, and an optional parameter,(which have the added benefit of less module level variables and procedures, or even less modules as you don&#8217;t need to setup a specific option private module).</p>
<p>Also it might be worth considering the use of Enum to allow easy access to specific group of constants for example like the primary colours in Tushars interesting example.  </p>
<p>Nice form Ross cute demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ross</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21425</link>
		<dc:creator>ross</dc:creator>
		<pubDate>Tue, 31 Oct 2006 11:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21425</guid>
		<description>&lt;p&gt;&quot;A form is a class...&quot;&lt;/p&gt;
&lt;p&gt;and sometimes it&#039;s also an object! lol!&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;Option&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Explicit&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; UserForm_Activate()&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; form &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; UserForm1&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; x &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Integer&lt;/span&gt;&lt;br&gt;
Me.Caption = &lt;span class=&quot;st0&quot;&gt;&quot;I was born on &quot;&lt;/span&gt; &amp; Time() &amp; &lt;span class=&quot;st0&quot;&gt;&quot; &#160; - Is this visual inheritance?, lol&quot;&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Each&lt;/span&gt; form &lt;span class=&quot;kw1&quot;&gt;In&lt;/span&gt; UserForms&lt;br&gt;
form.Top = 100 + x&lt;br&gt;
x = x + 30&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Next&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;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; UserForm_Click()&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; form &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; UserForm1&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; form = &lt;span class=&quot;kw1&quot;&gt;New&lt;/span&gt; UserForm1&lt;br&gt;
form.Show&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;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;A form is a class&#8230;&#8221;</p>
<p>and sometimes it&#8217;s also an object! lol!</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Option</span> <span class="kw1">Explicit</span></p>
<p><span class="kw1">Private</span> <span class="kw1">Sub</span> UserForm_Activate()<br />
<span class="kw1">Dim</span> form <span class="kw1">As</span> UserForm1<br />
<span class="kw1">Dim</span> x <span class="kw1">As</span> <span class="kw1">Integer</span><br />
Me.Caption = <span class="st0">&#8220;I was born on &#8220;</span> &amp;amp; Time() &amp;amp; <span class="st0">&#8221; &nbsp; &#8211; Is this visual inheritance?, lol&#8221;</span><br />
<span class="kw1">For</span> <span class="kw1">Each</span> form <span class="kw1">In</span> UserForms<br />
form.Top = 100 + x<br />
x = x + 30<br />
<span class="kw1">Next</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></p>
<p><span class="kw1">Private</span> <span class="kw1">Sub</span> UserForm_Click()<br />
<span class="kw1">Dim</span> form <span class="kw1">As</span> UserForm1<br />
<span class="kw1">Set</span> form = <span class="kw1">New</span> UserForm1<br />
form.Show<br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21424</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 31 Oct 2006 10:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21424</guid>
		<description>&lt;p&gt;Agreed Forms are Class modules.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Agreed Forms are Class modules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21421</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Tue, 31 Oct 2006 01:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21421</guid>
		<description>&lt;p&gt;Jan: I am not sure what point you were trying to make but one clarification.  Class modules are not forms.  Technically, it&#039;s the other way around.  A form is a class...well, kinda since it has some special capabilities built into it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jan: I am not sure what point you were trying to make but one clarification.  Class modules are not forms.  Technically, it&#8217;s the other way around.  A form is a class&#8230;well, kinda since it has some special capabilities built into it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21420</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Tue, 31 Oct 2006 01:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21420</guid>
		<description>&lt;p&gt;JKP: The missing section is something I haven&#039;t done yet.  It will be an add-in that lists all the names in a workbook.  Doubt if it will be anything very sophisticated and for all I know the enhanced Name Manager in XL2007 might do all that I have planned for it.  But, we will see.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>JKP: The missing section is something I haven&#8217;t done yet.  It will be an add-in that lists all the names in a workbook.  Doubt if it will be anything very sophisticated and for all I know the enhanced Name Manager in XL2007 might do all that I have planned for it.  But, we will see.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21419</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Tue, 31 Oct 2006 01:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21419</guid>
		<description>&lt;p&gt;Alex:&lt;/p&gt;
&lt;p&gt;1) (a) Yes, they should.  Though, IMO, making variables in a class public defeats the purpose of good OOP design.&lt;/p&gt;
&lt;p&gt;(b) Yes, it should work in an add-in.  As I wrote I don&#039;t quite remember where I actually used it but I don&#039;t release any code that is not an add-in.  So, it must work in an add-in.&lt;/p&gt;
&lt;p&gt;(c) Where would I use it?  First of all, with caution since this use is not really documented anywhere and I have not tested it with anything but 2003.  Also, keep in mind that a standard module always exists (there&#039;s no instantiation of an object based on it) and only one copy of it exists (there&#039;s no instantiation of it).  So, it&#039;s a &quot;cute&quot; way to simplify access to something that other parts of the code might want to treat as a variable while internally support a more complex implementation.&lt;/p&gt;
&lt;p&gt;One place where this might find some value is as a class level property or method.  I forget what it is called -- one should be able to find the terminology in the OOP literature including the .Net literature -- but essentially it is global, i.e., shared by all instances of a class.&lt;/p&gt;
&lt;p&gt;2) Chip Pearson has (had?) documented a non-standard (and a non-documented?) way of creating a global that is global to the Excel instance.  You should be able to find the material, if it still exists, on his website at &lt;a href=&quot;http://www.cpearson.com&quot; rel=&quot;nofollow&quot;&gt;http://www.cpearson.com&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Alex:</p>
<p>1) (a) Yes, they should.  Though, IMO, making variables in a class public defeats the purpose of good OOP design.</p>
<p>(b) Yes, it should work in an add-in.  As I wrote I don&#8217;t quite remember where I actually used it but I don&#8217;t release any code that is not an add-in.  So, it must work in an add-in.</p>
<p>(c) Where would I use it?  First of all, with caution since this use is not really documented anywhere and I have not tested it with anything but 2003.  Also, keep in mind that a standard module always exists (there&#8217;s no instantiation of an object based on it) and only one copy of it exists (there&#8217;s no instantiation of it).  So, it&#8217;s a &#8220;cute&#8221; way to simplify access to something that other parts of the code might want to treat as a variable while internally support a more complex implementation.</p>
<p>One place where this might find some value is as a class level property or method.  I forget what it is called &#8212; one should be able to find the terminology in the OOP literature including the .Net literature &#8212; but essentially it is global, i.e., shared by all instances of a class.</p>
<p>2) Chip Pearson has (had?) documented a non-standard (and a non-documented?) way of creating a global that is global to the Excel instance.  You should be able to find the material, if it still exists, on his website at <a href="http://www.cpearson.com" rel="nofollow">http://www.cpearson.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/10/29/two-website-additions-properties-in-a-standard-module-and-a-chapter-on-names-and-formula-formatting/#comment-21418</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Tue, 31 Oct 2006 01:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1540#comment-21418</guid>
		<description>&lt;p&gt;Rob: Thanks for the pointer.  From the limited tests with the add-in it would appear that it doesn&#039;t account for operator precedence and parenthesis overrides.  Consequently, it did nothing for the formula I used in my example.  Any plans to include that capability in the add-in?&lt;/p&gt;
&lt;p&gt;Also, did you by any chance get the BNF for Excel formulas?  I would love to lay my hands on it -- and particularly for the chart SERIES formula.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Rob: Thanks for the pointer.  From the limited tests with the add-in it would appear that it doesn&#8217;t account for operator precedence and parenthesis overrides.  Consequently, it did nothing for the formula I used in my example.  Any plans to include that capability in the add-in?</p>
<p>Also, did you by any chance get the BNF for Excel formulas?  I would love to lay my hands on it &#8212; and particularly for the chart SERIES formula.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

