<?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: Registering a UDF Take 2</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/</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/04/13/registering-a-udf-take-2/#comment-19559</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Thu, 27 Apr 2006 05:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19559</guid>
		<description>&lt;p&gt;The method was designed for that, so yes.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The method was designed for that, so yes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: corven</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19552</link>
		<dc:creator>corven</dc:creator>
		<pubDate>Wed, 26 Apr 2006 16:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19552</guid>
		<description>&lt;p&gt;I absolutely love the end results of this method.  However, I&#039;m curious if it can only be employeed with UDF&#039;s contained in a DLL.  Can this method be adjusted to work with XLA&#039;s?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I absolutely love the end results of this method.  However, I&#8217;m curious if it can only be employeed with UDF&#8217;s contained in a DLL.  Can this method be adjusted to work with XLA&#8217;s?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XL-Dennis</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19540</link>
		<dc:creator>XL-Dennis</dc:creator>
		<pubDate>Sun, 23 Apr 2006 13:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19540</guid>
		<description>&lt;p&gt;Jurgen,&lt;/p&gt;
&lt;p&gt;Is it possible for You to make the automation add-in and its VB-project available?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br&gt;
Dennis&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jurgen,</p>
<p>Is it possible for You to make the automation add-in and its VB-project available?</p>
<p>Kind regards,<br />
Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keepITcool</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19539</link>
		<dc:creator>keepITcool</dc:creator>
		<pubDate>Sat, 22 Apr 2006 16:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19539</guid>
		<description>&lt;p&gt;addendum 2:&lt;br&gt;
KB 285337 says:  &quot;there is no way to specify function descriptions, argument descriptions, or help for Automation Add-in functions in the Function Wizard. &lt;/p&gt;
&lt;p&gt;Not true! I can now add full descriptions to functions in vb dlls!&lt;br&gt;
I&#039;ve solved the loading issues for UDF&#039;s in automation addins, by using a timer to check Excel&#039;s Ready state. Hiding the Function Category of the &quot;original&quot; is still a nono.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>addendum 2:<br />
KB 285337 says:  &#8220;there is no way to specify function descriptions, argument descriptions, or help for Automation Add-in functions in the Function Wizard. </p>
<p>Not true! I can now add full descriptions to functions in vb dlls!<br />
I&#8217;ve solved the loading issues for UDF&#8217;s in automation addins, by using a timer to check Excel&#8217;s Ready state. Hiding the Function Category of the &#8220;original&#8221; is still a nono.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keepITcool</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19535</link>
		<dc:creator>keepITcool</dc:creator>
		<pubDate>Fri, 21 Apr 2006 18:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19535</guid>
		<description>&lt;p&gt;addendum:&lt;br&gt;
a private function in a dll can de &quot;described&quot; but cannot be called from a worksheet.&lt;br&gt;
this gives some problems with regard to the function category.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>addendum:<br />
a private function in a dll can de &#8220;described&#8221; but cannot be called from a worksheet.<br />
this gives some problems with regard to the function category.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keepITcool</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19532</link>
		<dc:creator>keepITcool</dc:creator>
		<pubDate>Fri, 21 Apr 2006 11:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19532</guid>
		<description>&lt;p&gt;Guys,&lt;br&gt;
no reference is needed in the caller.xls BUT the caller will have links to the xla.&lt;/p&gt;
&lt;p&gt;I&#039;ve successfully tested this method with the UDF&#039;s in a VB6 ActiveX dll.&lt;br&gt;
No references and no links!&lt;br&gt;
However:&lt;/p&gt;
&lt;p&gt;Once the the dll is connected and the registration process completed it works as expected.&lt;br&gt;
(OnConnect sets a global application object and calls the UdfHelper class... and even private functions in the dll can be registered) &lt;/p&gt;
&lt;p&gt;BUT if the dll connects because the user clicks the (modal) function wizard&lt;br&gt;
there&#039;s a threading? conflict when the application object is called from the dll&lt;br&gt;
and registration fails..&lt;/p&gt;
&lt;p&gt;Anyone ideas on how to force connection of the dll, or delay the function wizard?&lt;br&gt;
pls contact me via email.&lt;/p&gt;
&lt;p&gt;keepITcool&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Guys,<br />
no reference is needed in the caller.xls BUT the caller will have links to the xla.</p>
<p>I&#8217;ve successfully tested this method with the UDF&#8217;s in a VB6 ActiveX dll.<br />
No references and no links!<br />
However:</p>
<p>Once the the dll is connected and the registration process completed it works as expected.<br />
(OnConnect sets a global application object and calls the UdfHelper class&#8230; and even private functions in the dll can be registered) </p>
<p>BUT if the dll connects because the user clicks the (modal) function wizard<br />
there&#8217;s a threading? conflict when the application object is called from the dll<br />
and registration fails..</p>
<p>Anyone ideas on how to force connection of the dll, or delay the function wizard?<br />
pls contact me via email.</p>
<p>keepITcool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Williams</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19524</link>
		<dc:creator>Charles Williams</dc:creator>
		<pubDate>Wed, 19 Apr 2006 17:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19524</guid>
		<description>&lt;p&gt;Stephen,&lt;/p&gt;
&lt;p&gt;I have implemented this for the FastExcel XLA functions using a similar approach based on Jurgen&#039;s technique and it works fine in the scenario you describe in all Excel versions from 97 to 2003 (have not tried it with XL12 yet).&lt;br&gt;
The only drawback I can see is that Excel still creates a link to the XLA in Caller.xls.&lt;/p&gt;
&lt;p&gt;regards&lt;br&gt;
Charles&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stephen,</p>
<p>I have implemented this for the FastExcel XLA functions using a similar approach based on Jurgen&#8217;s technique and it works fine in the scenario you describe in all Excel versions from 97 to 2003 (have not tried it with XL12 yet).<br />
The only drawback I can see is that Excel still creates a link to the XLA in Caller.xls.</p>
<p>regards<br />
Charles</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Bullen</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19520</link>
		<dc:creator>Stephen Bullen</dc:creator>
		<pubDate>Wed, 19 Apr 2006 16:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19520</guid>
		<description>&lt;p&gt;Hi Jurgen,&lt;/p&gt;
&lt;p&gt;Assume we have an addin FuncLib.xla, which contains the VBA UDFs and the code to register them in the function library.&lt;/p&gt;
&lt;p&gt;We have another sheet, caller.xls which wants to use a function defined in FuncLib.xla. If I&#039;m in caller.xls and use the function wizard to enter the function, does it work OK? If I enter the function without using the function wizard, does it work OK?&lt;/p&gt;
&lt;p&gt;Using the technique we described in PED, the above only works if the caller.xls VBProject references the funclib.xla VBProject - which is a major downside.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Stephen&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Jurgen,</p>
<p>Assume we have an addin FuncLib.xla, which contains the VBA UDFs and the code to register them in the function library.</p>
<p>We have another sheet, caller.xls which wants to use a function defined in FuncLib.xla. If I&#8217;m in caller.xls and use the function wizard to enter the function, does it work OK? If I enter the function without using the function wizard, does it work OK?</p>
<p>Using the technique we described in PED, the above only works if the caller.xls VBProject references the funclib.xla VBProject &#8211; which is a major downside.</p>
<p>Regards</p>
<p>Stephen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkpieterse</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19515</link>
		<dc:creator>jkpieterse</dc:creator>
		<pubDate>Tue, 18 Apr 2006 10:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19515</guid>
		<description>&lt;p&gt;Jurgen:&lt;/p&gt;
&lt;p&gt;If no-one says it works otherwise, I&#039;ll add this to the site.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jurgen:</p>
<p>If no-one says it works otherwise, I&#8217;ll add this to the site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: keepITcool</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/04/13/registering-a-udf-take-2/#comment-19514</link>
		<dc:creator>keepITcool</dc:creator>
		<pubDate>Tue, 18 Apr 2006 09:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1403#comment-19514</guid>
		<description>&lt;p&gt;Stephen and JK&lt;/p&gt;
&lt;p&gt;I&#039;m not entirely sure of Stephen&#039;s question, but will give it a try.&lt;/p&gt;
&lt;p&gt;The &quot;Registration&quot; code exposes some functions thru the function wizard (even if private).&lt;br&gt;
(this code can be anywhere and does not need a reference)&lt;/p&gt;
&lt;p&gt;The &quot;Function&quot; code with the exposed functions does NOT need to be in either the calling worksheet&#039;s parent workbook nor in the workbook containing the &quot;registration&quot; code.&lt;br&gt;
Nor does it need a reference. &lt;/p&gt;
&lt;p&gt;If the functions are in an xla addin: no need to use qualified function names during the registration process (even if not in same wkb as registration code) ELSE you must use a qualified function name.&lt;/p&gt;
&lt;p&gt;The &quot;Caller&quot; workbook needs the functions to be loaded, and alas will create an external file link.&lt;br&gt;
(a reference is optional to force loading the &quot;Functions&quot;)&lt;/p&gt;
&lt;p&gt;Does this answer it?&lt;br&gt;
Greetz, Jurgen&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stephen and JK</p>
<p>I&#8217;m not entirely sure of Stephen&#8217;s question, but will give it a try.</p>
<p>The &#8220;Registration&#8221; code exposes some functions thru the function wizard (even if private).<br />
(this code can be anywhere and does not need a reference)</p>
<p>The &#8220;Function&#8221; code with the exposed functions does NOT need to be in either the calling worksheet&#8217;s parent workbook nor in the workbook containing the &#8220;registration&#8221; code.<br />
Nor does it need a reference. </p>
<p>If the functions are in an xla addin: no need to use qualified function names during the registration process (even if not in same wkb as registration code) ELSE you must use a qualified function name.</p>
<p>The &#8220;Caller&#8221; workbook needs the functions to be loaded, and alas will create an external file link.<br />
(a reference is optional to force loading the &#8220;Functions&#8221;)</p>
<p>Does this answer it?<br />
Greetz, Jurgen</p>
]]></content:encoded>
	</item>
</channel>
</rss>

