Registering udf in excel 2003 addin

…衆ロ難τιáo~ 提交于 2020-01-14 03:01:47

问题


When I add some description to udf in Excel 2003 like:

Application.MacroOptions _
Macro:= "MyMacro", _
Category:= "MyCategory" _
Description:= "MyDesc"

and save the workbook as *.xla to my addin directory, the udf is registering correct when the add in is installed. But if I close the excel and open it again, the udf is still available, but disappears from function wisard.

If I place the registration code above to Workbook_Open excel reports the error: can't modify the hidden workbook. If I place the registration code to AddInInstall it works only once when addin is installed (or I need uncheck the addin in the addin list and check it again)

How to make udf registered permanently, every time addin is loaded?

来源:https://stackoverflow.com/questions/40948181/registering-udf-in-excel-2003-addin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!