我看到excel中有个对象:commandbarbutton,可以响应事件onclick,但是,在vb中定义excel对象时,不能把对象定义成excel.commandbarbutton。
请指教,如何实现。谢谢