<?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: VBA: Hide a Macro</title>
	<atom:link href="http://www.automateexcel.com/2004/10/29/excel_vba_hide_a_macro/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.automateexcel.com/2004/10/29/excel_vba_hide_a_macro/</link>
	<description>Everything Excel. Only Excel.</description>
	<lastBuildDate>Mon, 21 Nov 2011 07:25:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Oscar L</title>
		<link>http://www.automateexcel.com/2004/10/29/excel_vba_hide_a_macro/comment-page-1/#comment-920</link>
		<dc:creator>Oscar L</dc:creator>
		<pubDate>Thu, 09 Oct 2008 03:17:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-920</guid>
		<description>Hey this one worked great!!

Thank you much.</description>
		<content:encoded><![CDATA[<p>Hey this one worked great!!</p>
<p>Thank you much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://www.automateexcel.com/2004/10/29/excel_vba_hide_a_macro/comment-page-1/#comment-41</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Fri, 29 Oct 2004 17:18:39 +0000</pubDate>
		<guid isPermaLink="false">#comment-41</guid>
		<description>You can also hide a macro by putting an optional argument in its declaration:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;Sub Macro1()&lt;br /&gt;
     Macro2&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub Macro2(Optional bTest As Boolean)&lt;br /&gt;
     MsgBox &quot;You can only see Macro1&quot; &lt;br /&gt;
End Sub&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Since the argument is optional, the procedure won&#039;t complain if you don&#039;t pass it.&lt;br /&gt;
&lt;br /&gt;
- Jon</description>
		<content:encoded><![CDATA[<p>You can also hide a macro by putting an optional argument in its declaration:</p>
<p><code>Sub Macro1()<br />
     Macro2<br />
End Sub</p>
<p>Private Sub Macro2(Optional bTest As Boolean)<br />
     MsgBox "You can only see Macro1" <br />
End Sub</code></p>
<p>Since the argument is optional, the procedure won&#8217;t complain if you don&#8217;t pass it.</p>
<p>- Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fxp</title>
		<link>http://www.automateexcel.com/2004/10/29/excel_vba_hide_a_macro/comment-page-1/#comment-40</link>
		<dc:creator>fxp</dc:creator>
		<pubDate>Fri, 29 Oct 2004 08:16:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-40</guid>
		<description>You can also hide macros that are attached to worksheet objects, too.  After you assign a macro to say a button object go back to the module and declare it private.  This will hide the macro, but it will still be linked to the button.</description>
		<content:encoded><![CDATA[<p>You can also hide macros that are attached to worksheet objects, too.  After you assign a macro to say a button object go back to the module and declare it private.  This will hide the macro, but it will still be linked to the button.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

