gpt4 book ai didi

vba - 对象模块中已存在 Visual Basic 成员

转载 作者:行者123 更新时间:2023-12-04 18:07:21 26 4
gpt4 key购买 nike

我今天是 Visual Basic 的新手,我正在编写程序,但出现编译错误

Member already exists in an object module from which this object module derives



我的函数原型(prototype)是
Function calculate(count As Integer) As String

我想知道为什么这给了我这个错误

最佳答案

这是因为你的函数和系统的保留函数名同名,如AfterInsert()

关于vba - 对象模块中已存在 Visual Basic 成员,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24274090/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com