开发者

Excel UDF formula does not appear

开发者 https://www.devze.com 2022-12-19 17:39 出处:网络
I have an Excel UDF . It is written in C开发者_开发问答# and the automation addon has been packaged using the Visual Studio setu up project wizard. The addon loads in the list of automation addons ava

I have an Excel UDF . It is written in C开发者_开发问答# and the automation addon has been packaged using the Visual Studio setu up project wizard. The addon loads in the list of automation addons available but the formula does not appear in the Insert function formula dialogue box.

I used Office 2003 and Visual Studio 2008 to build the addin. The client machine has .Net Framework 2.0 installed and does not have any installation of VS.

Should I have to enable the udf specifically somewhere ? This problem appears only when I am packaging the addon to distribute it to a client machine.

Thanks,


The fact that the COM add-in appears in the availale list of automation add-ins would imply that the COM add-in has been successfully registered on the target machine.

Could it be a Trust issue? You can check the level of trust your assembly has using the Microsoft .NET Framework Configuration: http://support.microsoft.com/kb/815147

I suspect you'll need full-trust.

I haven't built add-ins with COM for a while (I can list the alternatives if you like), so let me know if this doesn't fix it and I'll look into it further.

0

精彩评论

暂无评论...
验证码 换一张
取 消