How can I get intellisense to work for UDFs in XLAM files?

▼魔方 西西 提交于 2020-01-04 06:21:09

问题


I have some UDFs in an XLAM file. Intellisense doesn't seem to pickup these UDFs when the XLAM is installed as an add-in. The UDFs themselves work fine in Excel, its just that they don't appear in intellisense. Here I mean intellisense when used on a worksheet.


回答1:


There (is) was no way of getting a UDF (VBA, XLL etc) to supply intellisense. This has often been suggested to the Excel team as a worthwhile improvement.

(see https://fastexcel.wordpress.com/2016/10/07/writing-efficient-vba-udfs-part-15-adding-intellisense-to-your-udfs/)




回答2:


With the Excel-DNA IntelliSense extension you can add in-sheet IntelliSense for your VBA-based UDFs (as well as .xll-based UDFs from Excel-DNA, PyXLL or one of the C/C++ toolkits).

The announcement and discussion of the IntelliSense extension is here: https://excel-dna.net/2016/11/24/excel-udf-intellisense-for-excel-dna-and-vba/

A detailed write-up on adding in-sheet IntelliSense to a VBA project (by Charles Williams) can be found here: https://fastexcel.wordpress.com/2016/10/07/writing-efficient-vba-udfs-part-15-adding-intellisense-to-your-udfs/



来源:https://stackoverflow.com/questions/7760657/how-can-i-get-intellisense-to-work-for-udfs-in-xlam-files

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