ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   xlm udf registration (https://www.excelbanter.com/excel-discussion-misc-queries/92660-xlm-udf-registration.html)

ntoze

xlm udf registration
 
Hi,

I'm trying to use the xlm udf registration method from chapter 5 of the
book "Professional Excel Development". It works for 2 argument
functions, but I can't get it to work for functions with more than two
arguments. I just get a #Value! error. Has anyone else encountered this
problem?

I'm using Excel 2003 SP2.

e.g. I add an extra argument to the 'IFERROR' function in the
MFunctions module, then add one to lNumArgs in the MRegister module and
add an extra name to the argument names and an extra argument
description.


Thanks,
Nick


ntoze

xlm udf registration
 
I've found this alternative version which works for me:

http://www.jkp-ads.com/Articles/RegisterUDF00.htm


ntoze

xlm udf registration
 
It appears that for Excel 2003 sp2, this xlm registration method
doesn't avoid the hardcoded workbook links, contrary to what is said on
page 120 of 'Professional Excel Development'. Nuts...



All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com