[英]Using custom function VBA in custom field of pivot-table
When I try to use custom function (written on VBA), in custom field of pivot table excel give me an error: "Element not found." 当我尝试使用自定义函数(在VBA上编写)时,在数据透视表excel的自定义字段中给我一个错误:“找不到元素”。
Function code: 功能码:
Function testfunc(keks)
testfunc = keks * 2
End Function
On the worksheets this little function work fine. 在工作表上,这个小功能可以正常工作。
数据透视表不适用于自定义功能,仅适用于默认功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.