SlicerCaches 对象 (Excel)SlicerCaches object (Excel)

表示与指定工作簿关联的切片器缓存的集合。Represents the collection of slicer caches associated with the specified workbook.

说明Remarks

使用SlicerCaches集合的Item属性可返回与指定的**工作簿** 对象相关联的**SlicerCache** 对象。Use the Item property of the SlicerCaches collection to return a SlicerCache object associated with the specified Workbook object. 可以使用 Index 属性的值,或者指定对象的 Name 属性来检索 SlicerCache 对象。A SlicerCache object can be retrieved by using either the value of the Index property or the Name property of the specified object.

示例Example

下面的代码示例检索一个 SlicerCache 对象,该对象表示与 Country 切片器关联的切片器缓存。

The following code example retrieves the SlicerCache object that represents the slicer cache associated with the Country slicer.

ActiveWorkbook.SlicerCaches("Slicer_Country")

方法Methods

属性Properties

另请参阅See also

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.