不能直接把字符串用来用啊,动态编译。
Functions.remove("函数")Dim Code As StringCode = "msgbox(123)" & vbcrlfFunctions.Add("函数",Code)Functions.Complie()Functions.Execute("函数")