方法二
Functions.remove("函数")Dim Code As StringCode = "msgbox(123) '你要执行的代码"Functions.Add("函数",Code)Functions.Complie()Functions.Execute("函数")