判断函数是否存在
try Functions.add("test", "dim a=123") Functions.remove("test") msgbox("不存在,继续执行")catch ex As exception msgbox("已存在")End try