vba 定义VBComponent时出现类型未定义

问题遇到的现象和发生背景

vba 编写excel时VBComponent显示未被定义

用代码块功能插入代码,请勿粘贴截图
运行结果及报错内容

img