Excel) (OLEFormat 对象

包含 OLE 对象的属性。

备注

如果 Shape 对象不表示链接或嵌入的对象,则 Shape 对象的 OLEFormat 属性将失败。

示例

使用 OLEFormat 属性可返回 OLEFormat 对象。 以下示例激活 Shapes 集合中的 OLE 对象。

Worksheets(1).Shapes(1).OLEFormat.Activate

方法

属性

另请参阅

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。